summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2011-01-04 16:34:30 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2011-01-04 16:34:30 (GMT)
commitb9588b528a48302a4884d0500caec71f1c59280c (patch)
treed1e04bad5afcc744fed2ef46253db5b79c9c0c39 /Doc/library
parent2427ab9d6f132224d6ee4a2b7f00b9d69ba6c0a3 (diff)
downloadcpython-b9588b528a48302a4884d0500caec71f1c59280c.zip
cpython-b9588b528a48302a4884d0500caec71f1c59280c.tar.gz
cpython-b9588b528a48302a4884d0500caec71f1c59280c.tar.bz2
Issue #8013: time.asctime and time.ctime no longer call system asctime
and ctime functions. The year range for time.asctime is now 1900 through maxint. The range for time.ctime is the same as for time.localtime. The string produced by these functions is longer than 24 characters when year is greater than 9999.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/time.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index bd8df0e..b0d9e07 100644
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -125,7 +125,7 @@ The module defines the following functions and data items:
.. function:: asctime([t])
Convert a tuple or :class:`struct_time` representing a time as returned by
- :func:`gmtime` or :func:`localtime` to a 24-character string of the following
+ :func:`gmtime` or :func:`localtime` to a string of the following
form: ``'Sun Jun 20 23:21:05 1993'``. If *t* is not provided, the current time
as returned by :func:`localtime` is used. Locale information is not used by
:func:`asctime`.