Skip to content
Prev Previous commit
Next Next commit
Address review comment.
  • Loading branch information
serhiy-storchaka committed Jul 18, 2024
commit cb3d601c2f2d746c8ba9dcb5266420198c12d728
2 changes: 1 addition & 1 deletion Doc/faq/programming.rst
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ How do I convert a string to a number?
--------------------------------------

For integers, use the built-in :func:`int` type constructor, e.g. ``int('144')
== 144``. Similarly, :func:`float` converts to floating point,
== 144``. Similarly, :func:`float` converts to a floating-point number,
e.g. ``float('144') == 144.0``.

By default, these interpret the number as decimal, so that ``int('0144') ==
Expand Down