@@ -2624,26 +2624,3 @@ def _name_from_offset(delta):
2624
2624
# small dst() may get within its bounds; and it doesn't even matter if some
2625
2625
# perverse time zone returns a negative dst()). So a breaking case must be
2626
2626
# pretty bizarre, and a tzinfo subclass can override fromutc() if it is.
2627
-
2628
- try :
2629
- from _datetime import *
2630
- except ImportError :
2631
- pass
2632
- else :
2633
- # Clean up unused names
2634
- del (_DAYNAMES , _DAYS_BEFORE_MONTH , _DAYS_IN_MONTH , _DI100Y , _DI400Y ,
2635
- _DI4Y , _EPOCH , _MAXORDINAL , _MONTHNAMES , _build_struct_time ,
2636
- _check_date_fields , _check_time_fields ,
2637
- _check_tzinfo_arg , _check_tzname , _check_utc_offset , _cmp , _cmperror ,
2638
- _date_class , _days_before_month , _days_before_year , _days_in_month ,
2639
- _format_time , _format_offset , _index , _is_leap , _isoweek1monday , _math ,
2640
- _ord2ymd , _time , _time_class , _tzinfo_class , _wrap_strftime , _ymd2ord ,
2641
- _divide_and_round , _parse_isoformat_date , _parse_isoformat_time ,
2642
- _parse_hh_mm_ss_ff , _IsoCalendarDate , _isoweek_to_gregorian ,
2643
- _find_isoformat_datetime_separator , _FRACTION_CORRECTION ,
2644
- _is_ascii_digit )
2645
- # XXX Since import * above excludes names that start with _,
2646
- # docstring does not get overwritten. In the future, it may be
2647
- # appropriate to maintain a single module level docstring and
2648
- # remove the following line.
2649
- from _datetime import __doc__
0 commit comments