There was an error while loading. Please reload this page.
1 parent e469fa9 commit 175c53aCopy full SHA for 175c53a
1 file changed
Doc/library/argparse.rst
@@ -1624,6 +1624,11 @@ argument::
1624
See also :ref:`the argparse howto on ambiguous arguments <specifying-ambiguous-arguments>`
1625
for more details.
1626
1627
+ .. versionchanged:: 3.14
1628
+ Negative numbers in scientific notation (e.g. ``-2.5e-6``), with
1629
+ underscores (e.g. ``-1_234.5``) and complex numbers (e.g. ``-1.2e-3j``)
1630
+ are recognized as negative numbers.
1631
+
1632
.. _prefix-matching:
1633
1634
Argument abbreviations (prefix matching)
0 commit comments