Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
7015d7f
gh-112535: Implement fallback implementation of _Py_ThreadId()
corona10 Dec 14, 2023
1775bc0
Update
corona10 Dec 14, 2023
e811144
Change declaration
corona10 Dec 14, 2023
bc19e2b
Remove empty enter
corona10 Dec 14, 2023
1595b21
Update
corona10 Dec 14, 2023
c791052
nit
corona10 Dec 14, 2023
59bcb6c
gh-113086: Add tests for os.chmod() and os.lchmod() (GH-113087)
serhiy-storchaka Dec 14, 2023
0776d9f
gh-90890: Reorder mailbox.Maildir method documentation (GH-113071)
gildea Dec 14, 2023
43fea31
gh-111049: Fix crash during garbage collection of the BytesIO buffer …
serhiy-storchaka Dec 14, 2023
3689390
Fixing typo in DocTestRunner docs (GH-112326)
dwysocki Dec 14, 2023
daa8577
gh-112205: Update textio module to use `@getter` as possible. (gh-113…
corona10 Dec 14, 2023
6d16217
gh-113090: Fix test.support.os_support.can_chmod() on Windows (GH-113…
serhiy-storchaka Dec 14, 2023
4f84b76
gh-59616: Support os.chmod(follow_symlinks=True) and os.lchmod() on W…
serhiy-storchaka Dec 14, 2023
1ca9c3e
gh-112730: Update docs for colour env vars (#112837)
hugovk Dec 14, 2023
1d20b1f
gh-112716: Fix SystemError when __builtins__ is not a dict (GH-112770)
serhiy-storchaka Dec 14, 2023
f62d371
gh-101100: Fix Sphinx nitpicks in `library/inspect.rst` and `referenc…
AlexWaygood Dec 14, 2023
20757d7
gh-101100: Fix Sphinx nitpicks in `library/traceback.rst` (#113106)
AlexWaygood Dec 14, 2023
de28ab3
GH-112354: Treat _EXIT_TRACE like an unconditional side exit (GH-113104)
markshannon Dec 14, 2023
7a7211e
gh-86179: Avoid making case-only changes when calculating realpath() …
zooba Dec 14, 2023
8e691c3
gh-113113: doc: use less ambiguously named variable (gh-113114)
jeremy-dolan Dec 14, 2023
e6dc5af
GH-111485: Sort metadata tables for easier checking of future diffs (…
markshannon Dec 14, 2023
62fbe10
bpo-36796: Clean the error handling in _testcapimodule.c (GH-13085)
ZackerySpytz Dec 14, 2023
9b62a4e
gh-105912: document gotcha with using os.fork on macOS (#112871)
ronaldoussoren Dec 14, 2023
96ffc38
Add recipe for totient() to demonstrate unique_justseen() and factor(…
rhettinger Dec 14, 2023
adb433e
gh-101100: Fix Sphinx nitpicks in `library/collections.abc.rst` (#113…
AlexWaygood Dec 14, 2023
056266b
Remove itertool recipe with low pedagogical value (gh-113138)
rhettinger Dec 14, 2023
f64e3fa
gh-101100: Fix Sphinx warnings in `whatsnew/2.3.rst` (#112373)
hugovk Dec 14, 2023
a7a2e40
gh-101100: Cleanup `mailbox` docs (#113124)
AlexWaygood Dec 14, 2023
79066a0
Optimize unique_justseen() recipe for a common case. (gh-113147)
rhettinger Dec 14, 2023
eb9bc91
gh-112535: Update _Py_ThreadId() to support RISC-V (gh-113084)
furkanonder Dec 14, 2023
ca0d2a3
gh-101100: Fix Sphinx nitpicks in `library/rlcompleter.rst` (#113125)
AlexWaygood Dec 15, 2023
44368f8
gh-112720: Move dis's cache output code to the Formatter, labels look…
iritkatriel Dec 15, 2023
0f5b1c8
GH-111485: Mark some instructions as `TIER_ONE_ONLY` (GH-113155)
brandtbucher Dec 15, 2023
9df6e0f
gh-61648: Detect line numbers of properties in doctests (GH-113161)
serhiy-storchaka Dec 15, 2023
ddcd546
gh-112278: Add retry in WMI tests in case of slow initialization (GH-…
aisk Dec 15, 2023
837690e
gh-113009: Fix multiprocessing Process.terminate() on Windows (#113128)
vstinner Dec 15, 2023
89b533f
[CVE-2023-27043] gh-102988: Reject malformed addresses in email.parse…
vstinner Dec 15, 2023
6d731a3
gh-113172: Fix compiler warnings in Modules/_xxinterpqueuesmodule.c (…
serhiy-storchaka Dec 15, 2023
e3e3973
Address code review
corona10 Dec 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
gh-101100: Fix Sphinx nitpicks in library/inspect.rst and `referenc…
…e/simple_stmts.rst` (#113107)
  • Loading branch information
AlexWaygood authored and corona10 committed Dec 15, 2023
commit f62d371980672e9b8f95ba8196488864254ed33b
4 changes: 4 additions & 0 deletions Doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@
# be resolved, as the method is currently undocumented. For context, see
# https://github.com/python/cpython/pull/103289.
('py:meth', '_SubParsersAction.add_parser'),
# Attributes that definitely should be documented better,
# but are deferred for now:
('py:attr', '__annotations__'),
('py:attr', '__wrapped__'),
]

# gh-106948: Copy standard C types declared in the "c:type" domain to the
Expand Down
6 changes: 3 additions & 3 deletions Doc/reference/simple_stmts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Assignment of an object to a single target is recursively defined as follows.
object. This can either replace an existing key/value pair with the same key
value, or insert a new key/value pair (if no key with the same value existed).

For user-defined objects, the :meth:`__setitem__` method is called with
For user-defined objects, the :meth:`~object.__setitem__` method is called with
appropriate arguments.

.. index:: pair: slicing; assignment
Expand Down Expand Up @@ -351,7 +351,7 @@ If the right hand side is present, an annotated
assignment performs the actual assignment before evaluating annotations
(where applicable). If the right hand side is not present for an expression
target, then the interpreter evaluates the target except for the last
:meth:`__setitem__` or :meth:`__setattr__` call.
:meth:`~object.__setitem__` or :meth:`~object.__setattr__` call.

.. seealso::

Expand Down Expand Up @@ -932,7 +932,7 @@ That is not a future statement; it's an ordinary import statement with no
special semantics or syntax restrictions.

Code compiled by calls to the built-in functions :func:`exec` and :func:`compile`
that occur in a module :mod:`M` containing a future statement will, by default,
that occur in a module :mod:`!M` containing a future statement will, by default,
use the new syntax or semantics associated with the future statement. This can
be controlled by optional arguments to :func:`compile` --- see the documentation
of that function for details.
Expand Down
2 changes: 0 additions & 2 deletions Doc/tools/.nitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ Doc/library/http.client.rst
Doc/library/http.cookiejar.rst
Doc/library/http.server.rst
Doc/library/importlib.rst
Doc/library/inspect.rst
Doc/library/locale.rst
Doc/library/logging.config.rst
Doc/library/logging.handlers.rst
Expand Down Expand Up @@ -116,7 +115,6 @@ Doc/reference/compound_stmts.rst
Doc/reference/datamodel.rst
Doc/reference/expressions.rst
Doc/reference/import.rst
Doc/reference/simple_stmts.rst
Doc/tutorial/datastructures.rst
Doc/using/windows.rst
Doc/whatsnew/2.0.rst
Expand Down