mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Fix typos
This commit is contained in:
parent
3ded421fd5
commit
545336673e
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ the week to Sunday (6) or to any other weekday. Parameters that specify dates
|
||||||
are given as integers. For related
|
are given as integers. For related
|
||||||
functionality, see also the :mod:`datetime` and :mod:`time` modules.
|
functionality, see also the :mod:`datetime` and :mod:`time` modules.
|
||||||
|
|
||||||
Most of these functions and classses rely on the :mod:`datetime` module which
|
Most of these functions and classes rely on the :mod:`datetime` module which
|
||||||
uses an idealized calendar, the current Gregorian calendar indefinitely extended
|
uses an idealized calendar, the current Gregorian calendar indefinitely extended
|
||||||
in both directions. This matches the definition of the "proleptic Gregorian"
|
in both directions. This matches the definition of the "proleptic Gregorian"
|
||||||
calendar in Dershowitz and Reingold's book "Calendrical Calculations", where
|
calendar in Dershowitz and Reingold's book "Calendrical Calculations", where
|
||||||
|
|
|
@ -273,7 +273,7 @@ The ``discover`` sub-command has the following options:
|
||||||
-t directory Top level directory of project (default to
|
-t directory Top level directory of project (default to
|
||||||
start directory)
|
start directory)
|
||||||
|
|
||||||
The -s, -p, & -t options can be passsed in as positional arguments. The
|
The -s, -p, & -t options can be passed in as positional arguments. The
|
||||||
following two command lines are equivalent::
|
following two command lines are equivalent::
|
||||||
|
|
||||||
python -m unittest discover -s project_directory -p '*_test.py'
|
python -m unittest discover -s project_directory -p '*_test.py'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue