summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Add gettext support to tools/extensions/c_annotations.py (#101989)Rémi Lapeyre2023-03-062-3/+9
|
* gh-95672: Fix versionadded indentation of get_pagesize in test.rst (gh-102455)Hyunkyun Moon2023-03-061-1/+1
|
* GH-101362: Optimise PurePath(PurePath(...)) (GH-101667)Barney Gale2023-03-051-2/+3
| | | | | | | The previous `_parse_args()` method pulled the `_parts` out of any supplied `PurePath` objects; these were subsequently joined in `_from_parts()` using `os.path.join()`. This is actually a slower form of joining than calling `fspath()` on the path object, because it doesn't take advantage of the fact that the contents of `_parts` is normalized! This reduces the time taken to run `PurePath("foo", "bar")` by ~20%, and the time taken to run `PurePath(p, "cheese")`, where `p = PurePath("/foo", "bar", "baz")`, by ~40%. Automerge-Triggered-By: GH:AlexWaygood
* Move around example in to_bytes() to avoid confusion (#101595)Sergey B Kirpichev2023-03-051-2/+4
| | | | Moves an example to be closer to the sentence that refers to it.
* gh-96821: Add config option `--with-strict-overflow` (#96823)Matthias Görgens2023-03-041-0/+5
| | | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Shantanu <hauntsaninja@gmail.com>
* Add import of `unittest.mock.Mock` in documentation (#102346)Wagner Alberto2023-03-031-0/+1
|
* gh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject *` (#102390)Nikita Sobolev2023-03-031-1/+1
|
* gh-101754: Document that Windows converts keys in `os.environ` to uppercase ↵Owain Davies2023-03-031-0/+5
| | | | (GH-101840)
* Fix typos in documentation and comments (GH-102374)Michael K2023-03-022-2/+2
| | | | | | | | Found some duplicate `to`s in the documentation and some code comments and fixed them. [Misc/NEWS.d/3.12.0a1.rst](https://github.com/python/cpython/blob/ed55c69ebd74178115cd8b080f7f8e7588cd5fda/Misc/NEWS.d/3.12.0a1.rst) also contains two duplicate `to`s, but I wasn't sure if it's ok to touch that file. Looks auto generated. I'm happy to amend the PR if requested. :) Automerge-Triggered-By: GH:AlexWaygood
* gh-102088 Optimize iter_index itertools recipe (GH-102360)Stefan Pochmann2023-03-021-3/+6
|
* gh-95672 skip fcntl when pipesize is smaller than pagesize (gh-102163)Hyunkyun Moon2023-03-011-0/+7
|
* Doc: Fix minor error in ePub (GH-100614)Inada Naoki2023-03-011-3/+3
| | | Fix issue reported https://mail.python.org/archives/list/docs@python.org/message/KE7OIAO53P4XRC4ZOWPDHA63ZQJCHEC3/
* GH-90744: Fix erroneous doc links in the sys module (#101319)Furkan Onder2023-02-281-49/+49
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-101101: Unstable C API tier (PEP 689) (GH-101102)Petr Viktorin2023-02-284-9/+164
|
* gh-101561: Add typing.override decorator (#101564)Steven Troxler2023-02-272-0/+46
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-101825: Clarify that as_integer_ratio() output is always normalized (#101843)Sergey B Kirpichev2023-02-272-4/+5
| | | | | | | | | Make docstrings for `as_integer_ratio` consistent across types, and document that the returned pair is always normalized (coprime integers, with positive denominator). --------- Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com> Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* gh-102296 Document that inspect.Parameter kinds support ordering (GH-102297)Gouvernathor2023-02-271-2/+3
| | | Automerge-Triggered-By: GH:AlexWaygood
* gh-101100: Fix sphinx warnings in `types` module (#102274)Nikita Sobolev2023-02-271-1/+1
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-91038: Change default argument value to `False` instead of `0` (#31621)Rotzbua2023-02-271-1/+1
| | | | | | The argument is used as a switch and corresponds to a boolean logic. Therefore it is more intuitive to use the corresponding constant `False` as default value instead of the integer `0`. Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* [doc] Improve grammar/fix missing word (GH-102060)VMan2023-02-262-2/+2
|
* gh-102259: Fix re doc issue regarding right square brackets (#102264)Skip Montanaro2023-02-261-1/+2
| | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-101100: Fix sphinx warnings in `typing` module docs (#102260)Nikita Sobolev2023-02-251-1/+1
|
* asyncio docs: Fix dangling hyphen (#102227)Jelle Zijlstra2023-02-251-2/+2
| | | Currently this gets rendered with a dangling hyphen.
* gh-101100: Fix Sphinx warnings in `decimal` module (#102125)Hugo van Kemenade2023-02-251-84/+84
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-102105 Fix wording in filterfalse/quantify/filter (GH-102189)Stefan Pochmann2023-02-242-4/+4
|
* gh-81652: Add MAP_ALIGNED_SUPER FreeBSD and MAP_CONCEAL OpenBSD constants ↵Yeojin Kim2023-02-241-3/+11
| | | | (gh-102191)
* Fix typo in `Py_GetPythonHome` signature (#102168)Tanner Firl2023-02-231-1/+1
|
* gh-101578: Fixup NEWS and add What's New entry for new exception APIs (#102157)Erlend E. Aasland2023-02-231-0/+18
|
* gh-87634: remove locking from functools.cached_property (GH-101890)Carl Meyer2023-02-232-0/+25
| | | Remove the undocumented locking capabilities of functools.cached_property.
* Fix syntax error in struct doc example (#102160)Terry Jan Reedy2023-02-221-1/+1
| | | | Missing closing ) reported on Discuss by Chukwudi Nwachukwu.
* GH-101777: `queue.rst`: use 2 spaces after a period to be consistent. (#102143)Owain Davies2023-02-221-8/+8
|
* gh-102135: Update turtle docs to rename wikipedia demo to rosette (#102137)somebody2023-02-221-3/+3
|
* gh-100556: Improve clarity of `or` docs (#100589)ram vikram singh2023-02-211-2/+2
| | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-101777: Make `PriorityQueue` docs slightly clearer (#102026)Owain Davies2023-02-211-2/+2
| | | | Adjust wording slightly, and use min(entries) instead of sorted(list(entries))[0] as an example.
* gh-101578: Amend exception docs (#102057)Erlend E. Aasland2023-02-212-22/+25
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-102011: use sys.exception() instead of sys.exc_info() in docs where ↵Irit Katriel2023-02-206-32/+29
| | | | possible (#102012)
* GH-99818: improve the documentation for zipfile.Path and Traversable (GH-101589)Filipe Laíns2023-02-202-3/+7
| | | Automerge-Triggered-By: GH:FFY00
* gh-101578: Amend PyErr_{Set,Get}RaisedException docs (#101962)Erlend E. Aasland2023-02-192-32/+20
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Misc improvements to the float tutorial (GH-102052)Raymond Hettinger2023-02-191-33/+106
|
* gh-85417: Clarify behaviour on branch cuts in cmath module (#102046)Mark Dickinson2023-02-191-28/+38
| | | | | | This PR updates the cmath module documentation to reflect the reality that Python is almost always (and as far as I can tell, that "almost" can be omitted) running on a machine whose C double supports signed zeros. * Removes misleading references to functions being continuous from above / below / the left / the right at branch cuts * Expands the note on branch cuts at the top of the module documentation to explain the double-sided sign-of-zero-based behaviour
* gh-100425: Update tutorial docs related to sum() accuracy (FH-101854)neuralstring2023-02-191-1/+1
|
* gh-99735: Use required=True in argparse subparsers example (#100927)Patricio Paez2023-02-191-1/+1
|
* Fix incorrectly documented attribute in csv docs (#101250)Reza Rastak2023-02-191-1/+1
|
* GH-84783: Make the slice object hashable (GH-101264)Furkan Onder2023-02-191-0/+3
|
* gh-101536: [docs] Improve attributes of `urllib.error.HTTPError` (#101612)Nikita Sobolev2023-02-181-1/+12
| | | | | * gh-101536: [docs] Improve attributes of `urllib.error.HTTPError` * Address review
* gh-101739: [Enum] update docs - default boundary for Flag is CONFORM (GH-101746)Owain Davies2023-02-171-9/+8
|
* gh-100226: Clarify StreamReader.read behavior (#101807)Jan Gosmann2023-02-171-2/+10
|
* gh-101992: update plistlib examples to be runnable (#101994)Dustin Rodrigues2023-02-171-6/+15
| | | | | | | | | * gh-101992: update plistlib examples to be runnable * Update Doc/library/plistlib.rst --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Docs: fix typos in PyFunction_WatchCallback docs and in 3.12 NEWS (GH-101980)Yeojin Kim2023-02-171-1/+1
| | | | - possitibility => possibility - disaallowed => disallowed
* gh-101973: Fix parameter reference for PyModule_FromDefAndSpec (#101976)Oleg Iarygin2023-02-171-2/+2
|