summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-13 16:38:53 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-13 16:38:53 (GMT)
commitef1605afa8b55069c39bb3394cc6ee2b3f88a987 (patch)
tree275f0d08df0179224902536d4ee93be8668a96db
parent287da2e0b99cce244d9e9ad0e702d901c8008e75 (diff)
parentb7117af07d20aefa12c95c5320c13b88afdf5a58 (diff)
downloadcpython-ef1605afa8b55069c39bb3394cc6ee2b3f88a987.zip
cpython-ef1605afa8b55069c39bb3394cc6ee2b3f88a987.tar.gz
cpython-ef1605afa8b55069c39bb3394cc6ee2b3f88a987.tar.bz2
merge with 3.3
-rw-r--r--Doc/library/datetime.rst3
-rw-r--r--Doc/library/time.rst6
2 files changed, 6 insertions, 3 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst
index bb268e1..f9d6918 100644
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -1784,7 +1784,8 @@ values. If they're used anyway, ``0`` is substituted for them.
The full set of format codes supported varies across platforms, because Python
calls the platform C library's :func:`strftime` function, and platform
-variations are common.
+variations are common. To see the full set of format codes supported on your
+platform, consult the :manpage:`strftime(3)` documentation.
The following is a list of all the format codes that the C standard (1989
version) requires, and these work on all platforms with a standard C
diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index 1e21fb6..cc8f716 100644
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -471,8 +471,10 @@ The module defines the following functions and data items:
>>> strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime())
'Thu, 28 Jun 2001 14:17:15 +0000'
- Additional directives may be supported on certain platforms, but only the ones
- listed here have a meaning standardized by ANSI C.
+ Additional directives may be supported on certain platforms, but only the
+ ones listed here have a meaning standardized by ANSI C. To see the full set
+ of format codes supported on your platform, consult the :manpage:`strftime(3)`
+ documentation.
On some platforms, an optional field width and precision specification can
immediately follow the initial ``'%'`` of a directive in the following order;