diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-07-23 20:03:53 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-07-23 20:03:53 (GMT) |
commit | a565874cc1a00e19716e537675adad46c00a7531 (patch) | |
tree | 93405357ae6579e9fd341cc71c7e0f452d2785f3 /Lib/datetime.py | |
parent | cf86e368ebd17e10f68306ebad314eea31daaa1e (diff) | |
download | cpython-a565874cc1a00e19716e537675adad46c00a7531.zip cpython-a565874cc1a00e19716e537675adad46c00a7531.tar.gz cpython-a565874cc1a00e19716e537675adad46c00a7531.tar.bz2 |
Use _datetime docstring if _datetime is available.
Diffstat (limited to 'Lib/datetime.py')
-rw-r--r-- | Lib/datetime.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/datetime.py b/Lib/datetime.py index 7b7b8aa..19f20e7 100644 --- a/Lib/datetime.py +++ b/Lib/datetime.py @@ -2085,3 +2085,8 @@ else: _days_before_year, _days_in_month, _format_time, _is_leap, _isoweek1monday, _math, _ord2ymd, _time, _time_class, _tzinfo_class, _wrap_strftime, _ymd2ord) + # XXX Since import * above excludes names that start with _, + # docstring does not get overwritten. In the future, it may be + # appropriate to maintain a single module level docstring and + # remove the following line. + from _datetime import __doc__ |