diff options
Diffstat (limited to 'Doc/library/argparse.rst')
| -rw-r--r-- | Doc/library/argparse.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index edb28e8..92ac6c4 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -855,7 +855,7 @@ By default, ArgumentParser objects read command-line args in as simple strings. However, quite often the command-line string should instead be interpreted as another type, like a :class:`float`, :class:`int` or :class:`file`. The ``type`` keyword argument of :meth:`add_argument` allows any necessary -type-checking and type-conversions to be performed. Many common builtin types +type-checking and type-conversions to be performed. Many common built-in types can be used directly as the value of the ``type`` argument:: >>> parser = argparse.ArgumentParser() |
