mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Issue #27125: Fix various errors like “will [be] inherited”
This commit is contained in:
parent
e8a175eaa0
commit
8d56c026a5
13 changed files with 17 additions and 15 deletions
|
@ -1865,7 +1865,7 @@ _PyObject_DebugTypeStats(FILE *out)
|
|||
|
||||
/* These methods are used to control infinite recursion in repr, str, print,
|
||||
etc. Container objects that may recursively contain themselves,
|
||||
e.g. builtin dictionaries and lists, should used Py_ReprEnter() and
|
||||
e.g. builtin dictionaries and lists, should use Py_ReprEnter() and
|
||||
Py_ReprLeave() to avoid infinite recursion.
|
||||
|
||||
Py_ReprEnter() returns 0 the first time it is called for a particular
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue