Commit df5bedbf authored by Ezio Melotti's avatar Ezio Melotti

#14034: merge argparse tutorial from 3.2.

parents 7e126205 6cc7a41c
This diff is collapsed.
...@@ -27,4 +27,5 @@ Currently, the HOWTOs are: ...@@ -27,4 +27,5 @@ Currently, the HOWTOs are:
unicode.rst unicode.rst
urllib2.rst urllib2.rst
webservers.rst webservers.rst
argparse.rst
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
-------------- --------------
.. sidebar:: Tutorial
This page contains the API reference information. For a more gentle
introduction to Python command-line parsing, have a look at the
:ref:`argparse tutorial <argparse-tutorial>`.
The :mod:`argparse` module makes it easy to write user-friendly command-line The :mod:`argparse` module makes it easy to write user-friendly command-line
interfaces. The program defines what arguments it requires, and :mod:`argparse` interfaces. The program defines what arguments it requires, and :mod:`argparse`
will figure out how to parse those out of :data:`sys.argv`. The :mod:`argparse` will figure out how to parse those out of :data:`sys.argv`. The :mod:`argparse`
......
...@@ -480,6 +480,11 @@ Build ...@@ -480,6 +480,11 @@ Build
Based on patch from Hervé Coatanhay. Based on patch from Hervé Coatanhay.
- Issue #14321: Do not run pgen during the build if files are up to date. - Issue #14321: Do not run pgen during the build if files are up to date.
Documentation
-------------
- Issue #14034: added the argparse tutorial.
- Issue #14324: Fix configure tests for cross builds. - Issue #14324: Fix configure tests for cross builds.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment