summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/calendar.rst2
-rw-r--r--Doc/library/datatypes.rst2
-rw-r--r--Doc/library/os.rst3
-rw-r--r--Doc/library/reprlib.rst4
-rw-r--r--Doc/library/shutil.rst5
5 files changed, 9 insertions, 7 deletions
diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst
index 112a672..d575228 100644
--- a/Doc/library/calendar.rst
+++ b/Doc/library/calendar.rst
@@ -35,7 +35,7 @@ it's the base calendar for all computations.
:class:`Calendar` instances have the following methods:
- .. method:: iterweekdays(weekday)
+ .. method:: iterweekdays()
Return an iterator for the week day numbers that will be used for one
week. The first value from the iterator will be the same as the value of
diff --git a/Doc/library/datatypes.rst b/Doc/library/datatypes.rst
index f561cb8..99d062b 100644
--- a/Doc/library/datatypes.rst
+++ b/Doc/library/datatypes.rst
@@ -31,4 +31,4 @@ The following modules are documented in this chapter:
types.rst
copy.rst
pprint.rst
- repr.rst
+ reprlib.rst
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 551424d..2badfd3 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -613,7 +613,8 @@ platforms. For descriptions of their availability and use, consult
combined using the bitwise OR operator ``|``. Availability: Windows.
-.. data:: O_DIRECT
+.. data:: O_ASYNC
+ O_DIRECT
O_DIRECTORY
O_NOFOLLOW
O_NOATIME
diff --git a/Doc/library/reprlib.rst b/Doc/library/reprlib.rst
index 84fd6fb..a0664c7 100644
--- a/Doc/library/reprlib.rst
+++ b/Doc/library/reprlib.rst
@@ -1,6 +1,6 @@
-
:mod:`reprlib` --- Alternate :func:`repr` implementation
-=====================================================
+========================================================
+
.. module:: reprlib
:synopsis: Alternate repr() implementation with size limits.
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index a3ab387..5ab2f29 100644
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -73,8 +73,9 @@ copying and removal. For operations on individual files, see also the
.. function:: copy2(src, dst)
- Similar to :func:`copy`, but last access time and last modification time are
- copied as well. This is similar to the Unix command :program:`cp -p`.
+ Similar to :func:`copy`, but metadata is copied as well -- in fact, this is just
+ :func:`copy` followed by :func:`copystat`. This is similar to the
+ Unix command :program:`cp -p`.
.. function:: copytree(src, dst[, symlinks])