Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 777db2d

Browse files
committed
Fix label in docs (from issue #13538).
1 parent 17fc44c commit 777db2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ Basic customization
11531153
Called by :func:`str(object) <str>` and the built-in functions
11541154
:func:`format` and :func:`print` to compute the "informal" or nicely
11551155
printable string representation of an object. The return value must be a
1156-
:ref:`string <textseq>` object.
1156+
:ref:`string <typesseq>` object.
11571157

11581158
This method differs from :meth:`object.__repr__` in that there is no
11591159
expectation that :meth:`__str__` return a valid Python expression: a more

0 commit comments

Comments
 (0)