Fix typo
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index db46902..c09b4cf 100644
--- a/Doc/c-api/exceptions.rst
+++ b/Doc/c-api/exceptions.rst
@@ -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: