diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-05-29 04:13:35 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-29 04:13:35 (GMT) |
commit | 8d56c026a5dd724318be005465366d5140fa6fe7 (patch) | |
tree | 9e1efdce69034e7c5088bcf176a7bcf5144c560f /Objects | |
parent | e8a175eaa067d0f434933d2f003260a6d739c2d1 (diff) | |
download | cpython-8d56c026a5dd724318be005465366d5140fa6fe7.zip cpython-8d56c026a5dd724318be005465366d5140fa6fe7.tar.gz cpython-8d56c026a5dd724318be005465366d5140fa6fe7.tar.bz2 |
Issue #27125: Fix various errors like “will [be] inherited”
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index 6fc4df1..8024889 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -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 |