]> granicus.if.org Git - python/commitdiff
PyObject_Unicode doesn't exist anymore
authorBenjamin Peterson <benjamin@python.org>
Thu, 21 Aug 2008 16:51:15 +0000 (16:51 +0000)
committerBenjamin Peterson <benjamin@python.org>
Thu, 21 Aug 2008 16:51:15 +0000 (16:51 +0000)
Doc/c-api/object.rst

index 3eb83f5463a976e4eec2260cca23636ddd40b50d..193ab958f47a4d04e9e5dc24790fdc47bb6dee47 100644 (file)
@@ -140,16 +140,6 @@ Object Protocol
    and, therefore, by the :func:`print` function.
 
 
-.. cfunction:: PyObject* PyObject_Unicode(PyObject *o)
-
-   .. index:: builtin: unicode
-
-   Compute a Unicode string representation of object *o*.  Returns the Unicode
-   string representation on success, *NULL* on failure. This is the equivalent of
-   the Python expression ``unicode(o)``.  Called by the :func:`unicode` built-in
-   function.
-
-
 .. cfunction:: int PyObject_IsInstance(PyObject *inst, PyObject *cls)
 
    Returns ``1`` if *inst* is an instance of the class *cls* or a subclass of