summaryrefslogtreecommitdiffstats
path: root/Doc/faq/programming.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-20692: Add Programming FAQ entry for 1.__class__ error. (GH-28918)Miss Islington (bot)2021-10-131-0/+21
| | | | | | To avoid error, add either space or parentheses. (cherry picked from commit 380c44087505d0d560f97e325028f27393551164) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [doc] Update references to NumPy (GH-22458) (GH-28749)Miss Islington (bot)2021-10-061-1/+1
| | | | | | Numeric(al) Python to NumPy. It seems the old name hasn't been used for some time. (cherry picked from commit c8bb24166e367d449158015cb9b1093f03c7175d) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* [3.9] bpo-4442: Document use of __new__ for subclasses of immutable types ↵Łukasz Langa2021-08-221-0/+48
| | | | | | | (GH-27866) (GH-27900) (cherry picked from commit eec340ea3af27887fcaac4029ebdee99f3713bff) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-30757: Improve "How to make stand-alone binaries" FAQ (GH-26309) (GH-26312)Miss Islington (bot)2021-05-221-7/+10
| | | | | | | | | Co-authored-by: denfromufa <denfromufa@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 2a1e6698b10a7b58c6ac66429de0f51cb739da35) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* [doc] Do some polishing in IDEs section (GH-22070) (GH-25703)Miss Islington (bot)2021-04-291-12/+12
| | | | | | | (cherry picked from commit 08a4803863856db47a1dde830e56f83e5c6811a2) Co-authored-by: Andre Delfino <adelfino@gmail.com> Co-authored-by: Andre Delfino <adelfino@gmail.com>
* Fix broken links and improve stand-alone tools list in FAQ GH-25609Miss Islington (bot)2021-04-261-4/+5
| | | | | (cherry picked from commit d28b34695301ec99a9334ad8d69b6092f4f703d5) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* bpo-20503: Show how isinstance() works with ABC registered classes. ↵Miss Islington (bot)2021-04-051-0/+35
| | | | (GH-25175) (GH-25202)
* bpo-43325: Add FAQ entry for identity tests (GH-25168) (GH-25178)Miss Islington (bot)2021-04-041-0/+87
|
* Doc: Do not suggest `s[::-1]` for reversed order (GH-22457)Miss Skeleton (bot)2020-10-211-6/+1
| | | | | (cherry picked from commit fb2e94692e3a8eb66915575f4a122d56fe8999a0) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* Doc: Do not encourage using a base class name in a derived class (GH-22177)Miss Skeleton (bot)2020-10-211-6/+6
| | | | | (cherry picked from commit 4642ccd1c3e460cb2746d3f2095f1c1d1bafa4fe) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* bpo-40341: Remove some "discouraged solutions" in Doc/faq/programming.rst ↵Miss Skeleton (bot)2020-10-161-21/+1
| | | | | | | | | (GH-22726) (GH-22727) (cherry picked from commit a22a19f3548f6064035e7c59a19cda1e9506db92) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-41774: Tweak new programming FAQ entry (GH-22562)Miss Skeleton (bot)2020-10-051-1/+1
| | | | | | Remove mention of space in "remove multiple items from list". (cherry picked from commit 060937da988347a887a5f165b023d972fcb97802) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-41774: Add programming FAQ entry (GH-22402)Miss Islington (bot)2020-09-291-0/+15
| | | | | | | In the "Sequences (Tuples/Lists)" section, add "How do you remove multiple items from a list". (cherry picked from commit 5b0181d1f6474c2cb9b80bdaf3bc56a78bf5fbe7) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [doc] Remove references to PyChecker. (GH-22054)Miss Islington (bot)2020-09-021-12/+4
| | | | | (cherry picked from commit dea82b67315a6b873f7d4e558dd00a851137dcbb) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* Remove reference to Boa Constructor. (GH-22056)Miss Islington (bot)2020-09-021-6/+0
| | | | | (cherry picked from commit 1d25f5bf7b795b47e753aca56d7579d4ad7ee468) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* Doc: Add output to example code in programming FAQ (GH-21346)Miss Islington (bot)2020-08-091-34/+37
| | | | | | | | Add output hint to document, part faq/programming, section [How do I write a function with output parameters (call by reference)?](https://docs.python.org/3/faq/programming.htmlGH-how-do-i-write-a-function-with-output-parameters-call-by-reference). This patch make the output hint just like prefix code block. (cherry picked from commit 67acf74c4eaf64a860cc1bcda6efe6e9cb01f89b) Co-authored-by: Jiajie Zhong <zhongjiajie955@hotmail.com>
* bpo-40348: Fix typos in the programming FAQ (GH-19729)Zackery Spytz2020-04-271-2/+2
|
* bpo-40340: Separate examples more clearly in the programming FAQ (GH-19688)Cajetan Rodrigues2020-04-241-4/+5
|
* bpo-39136: Fixed typos (GH-17720)Gurupad Hegde2019-12-281-1/+1
| | | | | funtion -> function; configuraton -> configuration; defintitions -> definitions; focusses -> focuses; necesarily -> necessarily; follwing -> following; Excape -> Escape,
* bpo-38237: Make pow's arguments have more descriptive names and be keyword ↵Ammar Askar2019-09-211-14/+11
| | | | | | | | | | | | passable (GH-16302) Edit: `math.pow` changes removed on Mark's request. https://bugs.python.org/issue38237 Automerge-Triggered-By: @rhettinger
* bpo-36167: fix an incorrect capitalization (GH-14482)avinassh2019-08-291-1/+1
|
* bpo-37456: Slash ('/') is now part of syntax. (GH-14627)Terry Jan Reedy2019-07-061-4/+0
|
* Use more PEP 570 syntax in the documentation. (GH-13720)Serhiy Storchaka2019-06-011-2/+2
|
* Fix typos in documentation (#13344)Xtreak2019-05-161-1/+1
|
* bpo-33882: mention breakpoint() in debugger-related FAQ (GH-7759)Andre Delfino2019-05-031-0/+3
|
* bpo-21314: Add a FAQ entry about positional only parameters (GH-10641)Lysandros Nikolaou2019-03-101-0/+35
|
* Remove empty Dictionaries section from programming FAQ (GH-12026)Andre Delfino2019-02-251-3/+0
|
* bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)Serhiy Storchaka2018-12-191-1/+1
|
* closes bpo-33883: Mention type checkers in the FAQ. (GH-7760)Andrés Delfino2018-09-111-0/+5
|
* bpo-33836: Recommend keyword-only param for memoization in FAQ (GH-7687)Noah Haasis2018-06-161-2/+2
| | | Update the the signature in the code example to make `_cache` a keyword-only parameter.
* bpo-33799: Remove non-ordered dicts comments from FAQAndrés Delfino2018-06-081-5/+0
|
* bpo-25910: Fixes redirection from http to https (#4674)Sanyam Khurana2017-12-061-1/+1
|
* Fix a typo in the Programming FAQ. (#3230)Gregory P. Smith2017-08-281-1/+1
| | | subobjects, not subobjecs.
* bpo-27200: Fix doctests in programming.rst and datetime.rst (#401)Marco Buttu2017-03-181-2/+2
|
* [merge from 3.5] - Issue27203 - Fix doctests Doc/faq/programming.rst.Senthil Kumaran2016-06-051-8/+20
|\ | | | | | | Patch contributed by Jelle Zijlstra.
| * Issue27203 - Fix doctests Doc/faq/programming.rst.Senthil Kumaran2016-06-051-8/+20
| | | | | | | | Patch contributed by Jelle Zijlstra.
* | Merge from 3.5Berker Peksag2016-06-011-1/+1
|\ \ | |/
| * Fix link in programming FAQ.Berker Peksag2016-06-011-1/+1
| | | | | | | | The example actually uses the sort method of list object.
* | merge 3.5Benjamin Peterson2016-05-271-30/+1
|\ \ | |/
| * remove cruft from Schwarzian transform sectionBenjamin Peterson2016-05-271-30/+1
| |
* | merge 3.5Benjamin Peterson2016-05-271-1/+1
|\ \ | |/
| * "Numeric Python" -> "NumPy"Benjamin Peterson2016-05-271-1/+1
| |
* | Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-20/+19
|\ \ | |/ | | | | Original patch by James Edwards.
| * Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-20/+19
| | | | | | | | Original patch by James Edwards.
* | Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-8/+8
|\ \ | |/
| * Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-8/+8
| |
* | merge with 3.5Georg Brandl2016-02-261-1/+1
|\ \ | |/
| * Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-261-1/+1
| | | | | | | | to SilentGhost for the patch.
* | Issue #25179: Documentation for formatted string literals aka f-stringsMartin Panter2016-02-131-1/+2
|/ | | | | Some of the inspiration and wording is taken from the text of PEP 498 by Eric V. Smith, and the existing str.format() documentation.
* Issue #25179: Preparatory cleanup of existing docs on string formattingMartin Panter2016-02-081-1/+1
| | | | | | | | | * Various sections were pointing to the section on the string.Formatter class, when the section on the common format string syntax is probably more appropriate * Fix references to various format() functions and methods * Nested replacement fields may contain conversions and format specifiers, and this is tested; see Issue #19729 for instance