Issue #27125: Merge typo fixes from 3.5

Also merge changes from Issue #27117; no actual code changes to 3.6.
This commit is contained in:
Martin Panter 2016-05-29 09:05:06 +00:00
commit e501a93c18
13 changed files with 17 additions and 15 deletions

View file

@ -1853,7 +1853,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