summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Fix error in argparse documentation example (GH-17399)SarahPythonista2020-08-281-2/+2
| | | Automerge-Triggered-By: @rhettinger
* bpo-38787: Clarify docs for PyType_GetModule and warn against common mistake ↵Petr Viktorin2020-08-271-1/+11
| | | | (GH-20215)
* bpo-41634: Fix a typo in the curses documentation (GH-21958)Zackery Spytz2020-08-271-1/+1
|
* Add missing word (GH-21936)Mason2020-08-271-1/+1
| | | "data to lost" -> "data to be lost"
* bpo-41624: fix documentation of typing.Coroutine (GH-21952)MingZhe Hu2020-08-271-1/+1
|
* Document vars behavior when __dict__ is missing (#21466)Andre Delfino2020-08-211-0/+3
|
* bpo-41573: Update release versions in General FAQ (GH-21915)wyz23x22020-08-211-4/+4
|
* Doc: add a missing period (GH-21819)Mathieu Dupuy2020-08-201-1/+1
|
* bpo-40994: Ungroup items in collections.abc documentation for improved ↵Sydney Pemberton2020-08-201-5/+13
| | | | | | | clarity (GH-21880) Use a less surprising document structure. Automerge-Triggered-By: @csabella
* Fix grammar in Doc/tutorial/controlflow.rst (GH-21885)Denis Ovsienko2020-08-191-1/+1
| | | Automerge-Triggered-By: @csabella
* bpo-40204: Fix duplicated productionlist names in the doc (GH-21900)Victor Stinner2020-08-172-2/+2
| | | | | | | | Sphinx 3 disallows having more than one productionlist markup with the same name. Simply remove names in this case, since names are not shown anyway. For example, fix the Sphinx 3 warning: Doc/reference/introduction.rst:96: duplicate token description of *:name, other instance in reference/expressions
* bpo-41521: Rename blacklist parameter to not_exported (GH-21824)Victor Stinner2020-08-171-5/+5
| | | | Rename "blacklist" parameter of test.support.check__all__() to "not_exported".
* Fix typo in typing doc (GH-21879)Irit Katriel2020-08-141-1/+1
| | | Automerge-Triggered-By: @gvanrossum
* bpo-40204: Fix reference to terms in the doc (GH-21865)Victor Stinner2020-08-1414-19/+22
| | | | | | | | Sphinx 3 requires to refer to terms with the exact case. For example, fix the Sphinx 3 warning: Doc/library/pkgutil.rst:71: WARNING: term Loader not found in case sensitive match.made a reference to loader instead.
* bpo-41410: Fix outdated info in mkstemp docs (GH-21701)Rishav Kundu2020-08-141-3/+2
| | | Automerge-Triggered-By: @ericvsmith
* Fixed comment about pathlib.link_to: it was added in 3.8, not changed. (#21851)Facundo Batista2020-08-131-1/+1
|
* bpo-40204, doc: Fix syntax of C variables (GH-21846)Victor Stinner2020-08-1319-105/+105
| | | | | | | | | | | | | | | For example, fix the following Sphinx 3 errors: Doc/c-api/buffer.rst:102: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] void \*obj -----^ Doc/c-api/arg.rst:130: WARNING: Unparseable C cross-reference: 'PyObject*' Invalid C declaration: Expected end of definition. [error at 8] PyObject* --------^ The modified documentation is compatible with Sphinx 2 and Sphinx 3.
* bpo-41066: Update the comparison section for os vs pathlib (GH-21261)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2020-08-131-0/+3
|
* bpo-40204: Add :noindex: in the documentation (GH-21859)Victor Stinner2020-08-139-81/+94
| | | | | | | | | | Add :noindex: to duplicated documentation to fix "duplicate object description" errors. For example, fix this Sphinx 3 issue: Doc/library/configparser.rst:1146: WARNING: duplicate object description of configparser.ConfigParser.optionxform, other instance in library/configparser, use :noindex: for one of them
* bpo-41521: Replace denylist with blocklist is http.cookiejar doc (GH-21826)Victor Stinner2020-08-131-4/+4
| | | | | | | The http.cookiejar module has is_blocked() and blocked_domains() methods, so "blocklist" term sounds better than "denylist" in this module. Replace also denylisted with denied in test___all__.
* bpo-40204: Fix duplicates in the documentation (GH-21857)Victor Stinner2020-08-132-26/+13
| | | | | | | | | Fix two Sphinx 3 issues: Doc/c-api/buffer.rst:304: WARNING: Duplicate C declaration, also defined in 'c-api/buffer'. Declaration is 'PyBUF_ND'. Doc/c-api/unicode.rst:1603: WARNING: Duplicate C declaration, also defined in 'c-api/unicode'. Declaration is 'PyObject* PyUnicode_Translate(PyObject *str, PyObject *table, const char *errors)'.
* bpo-40204: Fix Sphinx sytanx in howto/instrumentation.rst (GH-21858)Victor Stinner2020-08-131-13/+11
| | | | Use generic '.. object::' to declare markers, rather than abusing '.. c:function::' which fails on Sphinx 3.
* bpo-40204: Allow pre-Sphinx 3 syntax in the doc (GH-21844)Victor Stinner2020-08-121-0/+10
| | | | | Enable Sphinx 3.2 "c_allow_pre_v3" option and disable the c_warn_on_allowed_pre_v3 option to make the documentation compatible with Sphinx 2 and Sphinx 3.
* Fix typo (GH-21820)Christopher Yeh2020-08-111-1/+1
|
* bpo-41475: Fix note in "What's new in 3.7" (#21733)Ram Rachum2020-08-111-1/+1
|
* Add PEP 573 additions to What's New (GH-21374)Petr Viktorin2020-08-111-0/+7
|
* Add links to asttokens, leoAst, LibCST and parso to ast docs (GH-21773)Edward K. Ream2020-08-111-2/+21
|
* bpo-41521: Replace whitelist/blacklist with allowlist/denylist (GH-21822)Victor Stinner2020-08-112-7/+7
| | | Automerge-Triggered-By: @tiran
* bpo-16995: add support for base32 extended hex (base32hex) (GH-20441)Filipe Laíns2020-08-102-1/+28
| | | | | cc @pganssle Automerge-Triggered-By: @pganssle
* bpo-41324 Add a minimal decimal capsule API (#21519)Stefan Krah2020-08-102-0/+232
|
* bpo-35018: Sax parser should provide user access to lexical handlers (GH-20958)Zackery Spytz2020-08-092-7/+62
| | | Co-Authored-By: Jonathan Gossage <jgossage@gmail.com>
* Doc: Add output to example code in programming FAQ (GH-21346)Jiajie Zhong2020-08-081-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.html#how-do-i-write-a-function-with-output-parameters-call-by-reference). This patch make the output hint just like prefix code block.
* bpo-41455: Provide a link to how the third generation is collected in the GC ↵Yaroslav Pankovych2020-08-081-3/+3
| | | | | docs (GH-21703) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* Doc: Add a link to tutorial page from `open()` doc (GH-21737)Benjamin Kane2020-08-081-1/+2
| | | | | Adds a link to the "Reading and Writing Files" page so users can more easily discover how file handles are handled with the `with` context manager vs without it.
* bpo-41098: Doc: Add missing deprecated directives (GH-21162)Inada Naoki2020-08-071-0/+10
| | | | PyUnicodeEncodeError_Create has been deprecated with `Py_DEPRECATED` macro. But it was not documented.
* bpo-41440: add os.cpu_count() support for VxWorks RTOS (GH-21685)pxinwr2020-08-071-0/+6
|
* bpo-36346: Doc: Update removal schedule of legacy Unicode (GH-21479)Inada Naoki2020-08-051-9/+30
| | | See PEP 623 for detail.
* bpo-36982: Add support for extended color functions in ncurses 6.1 (GH-17536)Hans Petter Jansson2020-08-042-0/+19
| | | Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net>
* bpo-41425: Make tkinter doc example runnable (GH-21706)Ankit Chandawala2020-08-031-13/+17
| | | | Co-authored-by: Ankit Chandawala <achandaw@amazon.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-41424: Remove extra words in Tkinter-Packer documentation (GH-21707)Nathan M2020-08-031-6/+5
|
* bpo-40979: refactored typing.rst; (mostly) same content, new sub-sections ↵Luciano Ramalho2020-08-021-614/+823
| | | | | | and ordering (#21574) Also added PEP 585 deprecation notes.
* bpo-41426 Fix grammar in curses.getmouse() documentation (GH-21677)Sebastien Williams-Wynn2020-07-291-1/+1
| | | Automerge-Triggered-By: @brettcannon
* Remove incorrect mention of method.__class__ in descriptor docs (GH-21665)Yonatan Goldschmidt2020-07-281-4/+2
|
* Fix `List_Append` description, list is extracted at TOS1[-i] (GH-21465)Xiang Zhang2020-07-281-1/+1
|
* bpo-41328: Replace mention of Hudson CI with Travis CI and AppVeyor (GH-21653)Dmytro Litvinov2020-07-281-1/+1
|
* bpo-41045: Document debug feature of f-strings ('=') (GH-21509)amaajemyfren2020-07-271-5/+32
| | | | | Co-Authored-By: Rishi <rishi93dev@gmail.com> Automerge-Triggered-By: @gvanrossum
* bpo-40939: Use the new grammar for the grammar specification documentation ↵Pablo Galindo2020-07-273-4/+91
| | | | | | | (GH-19969) (We censor the heck out of actions and some other stuff using a custom "highlighter".) Co-authored-by: Guido van Rossum <guido@python.org>
* Delete remaining references to Grammar/Grammar from docs (#21624)Guido van Rossum2020-07-264-392/+1
| | | (Ironically, the file itself remains, see https://github.com/we-like-parsers/cpython/issues/135.)
* bpo-39868: Add documentation for Assignment Expressions (walrus, PEP 572) ↵Shankar Jha2020-07-251-2/+19
| | | | (#18851)
* bpo-41314: fixed annotations __future__ version (GH-21616)YoSTEALTH2020-07-251-1/+1
| | | PEP 563 was updated to change the release where `from __future__ import annotations` becomes the default (and only) behavior from 4.0 to 3.10. Update `__future__.py` and its docs to reflect this.