Fix Python str.format link to point to Python 3 docs

This commit is contained in:
johnthagen 2018-02-20 11:54:56 -05:00 committed by Victor Zverovich
parent a7ae5666a0
commit e92ba1071d

View File

@ -25,7 +25,7 @@ The replacement-based Format API provides a safe alternative to ``printf``,
``sprintf`` and friends with comparable or `better performance ``sprintf`` and friends with comparable or `better performance
<http://zverovich.net/2013/09/07/integer-to-string-conversion-in-cplusplus.html>`_. <http://zverovich.net/2013/09/07/integer-to-string-conversion-in-cplusplus.html>`_.
The `format string syntax <syntax.html>`_ is similar to the one used by The `format string syntax <syntax.html>`_ is similar to the one used by
`str.format <http://docs.python.org/2/library/stdtypes.html#str.format>`_ `str.format <http://docs.python.org/3/library/stdtypes.html#str.format>`_
in Python: in Python:
.. code:: c++ .. code:: c++