[Python-checkins] r87354 - python/branches/py3k/Doc/c-api/exceptions.rst

daniel.stutzbach python-checkins at python.org
Fri Dec 17 23:28:07 CET 2010


Author: daniel.stutzbach
Date: Fri Dec 17 23:28:07 2010
New Revision: 87354

Log:
Fix typo

Modified:
   python/branches/py3k/Doc/c-api/exceptions.rst

Modified: python/branches/py3k/Doc/c-api/exceptions.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/exceptions.rst	(original)
+++ python/branches/py3k/Doc/c-api/exceptions.rst	Fri Dec 17 23:28:07 2010
@@ -539,7 +539,7 @@
 following two functions facilitate this functionality.  Effectively,
 these are the C equivalent to :func:`reprlib.recursive_repr`.
 
-.. c:function:: int Py_ReprEntr(PyObject *object)
+.. c:function:: int Py_ReprEnter(PyObject *object)
 
    Called at the beginning of the :attr:`tp_repr` implementation to
    detect cycles.
@@ -559,8 +559,8 @@
 
 .. c:function:: void Py_ReprLeave(PyObject *object)
 
-   Ends a :c:func:`Py_ReprEntr`.  Must be called once for each
-   invocation of :c:func:`Py_ReprEntr` that returns zero.
+   Ends a :c:func:`Py_ReprEnter`.  Must be called once for each
+   invocation of :c:func:`Py_ReprEnter` that returns zero.
 
 
 .. _standardexceptions:


More information about the Python-checkins mailing list