diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-05-29 08:13:58 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-29 08:13:58 (GMT) |
commit | b44c4520d965788aa6d24edab36d89103b0a1aea (patch) | |
tree | 2c649fcb5f7518dace35b8241c9f4ffd60eda14f /Objects | |
parent | 6ee36a5a8cf7aff3a2b5f3ab50bb46a31c377750 (diff) | |
download | cpython-b44c4520d965788aa6d24edab36d89103b0a1aea.zip cpython-b44c4520d965788aa6d24edab36d89103b0a1aea.tar.gz cpython-b44c4520d965788aa6d24edab36d89103b0a1aea.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 14f4e9f..7a28218 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -2358,7 +2358,7 @@ PyMem_Free(void *p) /* 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 |