Anonymous avatar Anonymous committed 59f972b

Spelling

Comments (0)

Files changed (1)

Doc/whatsnew/3.2.rst

 A new module for command line parsing, :mod:`argparse`, was introduced to
 overcome the limitations of :mod:`optparse` which did not provide support for
 positional arguments (not just option), subcommands, required options and other
-common patterns of specifying and validatig options.
+common patterns of specifying and validating options.
 
 This module has already has wide-spread success in the community as a
 third-party module.  Being more fully featured than its predecessor,
 * The :mod:`unittest` module has two new methods,
   :meth:`~unittest.TestCase.assertWarns` and
   :meth:`~unittest.TestCase.assertWarnsRegex` to check that a given warning type
-  was triggered by the code under test:
+  is triggered by the code under test:
 
   >>> with self.assertWarns(DeprecationWarning):
   ...     legacy_function('XYZ')
   (Patch by Daniel Stuzback in :issue:`9915`.)
 
 * JSON decoding performance is improved and memory consumption is reduced
-  whenever the same string is repeated for multiple keys.  Aslo, JSON encoding
+  whenever the same string is repeated for multiple keys.  Also, JSON encoding
   now uses the C speedups when the ``sort_keys`` argument is true.
 
   (Contributed by Antoine Pitrou in :issue:`7451` and by Raymond Hettinger and
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.