Skip to content

Commit

Permalink
Fix Python str.format link to point to Python 3 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthagen authored and vitaut committed Feb 20, 2018
1 parent a7ae566 commit e92ba10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The replacement-based Format API provides a safe alternative to ``printf``,
``sprintf`` and friends with comparable or `better performance
<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
`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:

.. code:: c++
Expand Down

0 comments on commit e92ba10

Please sign in to comment.