diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-04-16 09:28:57 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-04-16 09:28:57 (GMT) |
commit | 119e502277d104286620806ef130e3c0d4f439f0 (patch) | |
tree | 78150447a369c7e43f4eb8b7a901655f6e66894e /Doc | |
parent | 00ccacc8db8194f15d8af26b788ec36314b990d1 (diff) | |
download | cpython-119e502277d104286620806ef130e3c0d4f439f0.zip cpython-119e502277d104286620806ef130e3c0d4f439f0.tar.gz cpython-119e502277d104286620806ef130e3c0d4f439f0.tar.bz2 |
Fix typos in code comments and documentation
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/argparse.rst | 2 | ||||
-rw-r--r-- | Doc/whatsnew/2.4.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 6181ee2..03dda1a 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -923,7 +923,7 @@ the various :class:`ArgumentParser` actions. The two most common uses of it are See the nargs_ description for examples. With the ``'store_const'`` and ``'append_const'`` actions, the ``const`` -keyword argument must be given. For other actions, is defaults to ``None``. +keyword argument must be given. For other actions, it defaults to ``None``. default diff --git a/Doc/whatsnew/2.4.rst b/Doc/whatsnew/2.4.rst index a613a9f..fb4558b 100644 --- a/Doc/whatsnew/2.4.rst +++ b/Doc/whatsnew/2.4.rst @@ -1481,7 +1481,7 @@ Some of the changes to Python's build process and to the C API are: * Python can now be built with additional profiling for the interpreter itself, intended as an aid to people developing the Python core. Providing - :option:`----enable-profiling` to the :program:`configure` script will let you + :option:`--enable-profiling` to the :program:`configure` script will let you profile the interpreter with :program:`gprof`, and providing the :option:`--with-tsc` switch enables profiling using the Pentium's Time-Stamp- Counter register. Note that the :option:`--with-tsc` switch is slightly |