Use _datetime docstring if _datetime is available.

This commit is contained in:
Alexander Belopolsky 2010-07-23 20:03:53 +00:00
parent cf86e368eb
commit a565874cc1
1 changed files with 5 additions and 0 deletions

View File

@ -2085,3 +2085,8 @@ else:
_days_before_year, _days_in_month, _format_time, _is_leap, _days_before_year, _days_in_month, _format_time, _is_leap,
_isoweek1monday, _math, _ord2ymd, _time, _time_class, _tzinfo_class, _isoweek1monday, _math, _ord2ymd, _time, _time_class, _tzinfo_class,
_wrap_strftime, _ymd2ord) _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__