Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jjconti committed Nov 6, 2019
1 parent 01a1d31 commit 4dfa099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/str_object.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ There are also other differences, such as the ``repr`` of unicode strings in
Py2 having a ``u'...'`` prefix, versus simply ``'...'``, and the removal of
the :func:`str.decode` method in Py3.

:mod:`future` contains a :class:`newstr`` type that is a backport of the
:mod:`future` contains a :class:`newstr` type that is a backport of the
:mod:`str` object from Python 3. This inherits from the Python 2
:class:`unicode` class but has customizations to improve compatibility with
Python 3's :class:`str` object. You can use it as follows::
Expand Down

0 comments on commit 4dfa099

Please sign in to comment.