summaryrefslogtreecommitdiffstats
path: root/Doc/library/locale.rst
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-06-02 16:22:02 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2012-06-02 16:22:02 (GMT)
commit964f205a3411aab3824240c6cd9c68ebee3b5844 (patch)
treea797b5d51b4fb8a1771f8fdc48c9bfda1f130267 /Doc/library/locale.rst
parent554b3481fa51f8a8cc18815d7c80229c584e315b (diff)
downloadcpython-964f205a3411aab3824240c6cd9c68ebee3b5844.zip
cpython-964f205a3411aab3824240c6cd9c68ebee3b5844.tar.gz
cpython-964f205a3411aab3824240c6cd9c68ebee3b5844.tar.bz2
refer to time.strftime
Diffstat (limited to 'Doc/library/locale.rst')
-rw-r--r--Doc/library/locale.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/locale.rst b/Doc/library/locale.rst
index 3a49e98..45aba0a 100644
--- a/Doc/library/locale.rst
+++ b/Doc/library/locale.rst
@@ -160,22 +160,22 @@ The :mod:`locale` module defines the following exception and functions:
.. data:: D_T_FMT
- Get a string that can be used as a format string for :func:`strftime` to
+ Get a string that can be used as a format string for :func:`time.strftime` to
represent date and time in a locale-specific way.
.. data:: D_FMT
- Get a string that can be used as a format string for :func:`strftime` to
+ Get a string that can be used as a format string for :func:`time.strftime` to
represent a date in a locale-specific way.
.. data:: T_FMT
- Get a string that can be used as a format string for :func:`strftime` to
+ Get a string that can be used as a format string for :func:`time.strftime` to
represent a time in a locale-specific way.
.. data:: T_FMT_AMPM
- Get a format string for :func:`strftime` to represent time in the am/pm
+ Get a format string for :func:`time.strftime` to represent time in the am/pm
format.
.. data:: DAY_1 ... DAY_7
@@ -239,24 +239,24 @@ The :mod:`locale` module defines the following exception and functions:
then-emperor's reign.
Normally it should not be necessary to use this value directly. Specifying
- the ``E`` modifier in their format strings causes the :func:`strftime`
+ the ``E`` modifier in their format strings causes the :func:`time.strftime`
function to use this information. The format of the returned string is not
specified, and therefore you should not assume knowledge of it on different
systems.
.. data:: ERA_D_T_FMT
- Get a format string for :func:`strftime` to represent date and time in a
+ Get a format string for :func:`time.strftime` to represent date and time in a
locale-specific era-based way.
.. data:: ERA_D_FMT
- Get a format string for :func:`strftime` to represent a date in a
+ Get a format string for :func:`time.strftime` to represent a date in a
locale-specific era-based way.
.. data:: ERA_T_FMT
- Get a format string for :func:`strftime` to represent a time in a
+ Get a format string for :func:`time.strftime` to represent a time in a
locale-specific era-based way.
.. data:: ALT_DIGITS