Module ImportFrom alias ImportFrom alias Import alias Import alias Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIs NameLoad NameLoad body Assign NameStore CompareNotEq BinOpSub NameLoad NameLoad BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareNotEq NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list decorator_list
N/A six PY3 six.moves _thread N/A datetime N/A copy N/A __all__ N/A tzname_in_python2 tzname_in_python2 N/A N/A namefunc N/A N/A N/A Change unicode output into bytestrings in Python 2

    tzname() API changed in Python 3. It used to return bytes, but was changed
    to unicode strings
     adjust_encoding N/A N/A N/A args kwargs N/A N/A name N/A namefunc args kwargs N/A N/A N/A name None N/A PY3 N/A N/A name N/A N/A name encode N/A name N/A N/A adjust_encoding N/A _tzinfo N/A N/A datetime tzinfo N/A N/A 
    Base class for all `dateutil` `tzinfo` objects.
     __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super _tzinfo self __init__ args kwargs N/A N/A self _fold None N/A _as_fold_naive N/A N/A self N/A N/A N/A tzi N/A N/A copy copy self N/A N/A tzi _fold None N/A tzi N/A _fold_status N/A N/A self dt_utc dt_wall N/A N/A N/A 
        Determine the fold status of a "wall" datetime, given a representation
        of the same datetime as a (naive) UTC datetime. This is calculated based
        on the assumption that ``dt.utcoffset() - dt.dst()`` is constant for all
        datetimes, and that this offset is the actual number of hours separating
        ``dt_utc`` and ``dt_wall``.

        :param dt_utc:
            Representation of the datetime as UTC

        :param dt_wall:
            Representation of the datetime as "wall time". This parameter must
            either have a `fold` attribute or have a fold-naive
            :class:`datetime.tzinfo` attached, otherwise the calculation may
            fail.
         N/A _fold N/A getattr dt_wall fold None N/A N/A _fold None N/A N/A _fold N/A N/A dt_wall dt_utc N/A N/A N/A dt_utc utcoffset N/A N/A dt_utc dst N/A _fold N/A fromutc N/A N/A self dt N/A N/A N/A 
        Given a timezone-aware datetime in a given timezone, calculates a
        timezone-aware datetime in a new timezone.

        Since this is the one time that we *know* we have an unambiguous
        datetime object, we take this opportunity to determine whether the
        datetime is ambiguous and in a "fold" state (e.g. if it's the first
        occurance, chronologically, of the ambiguous datetime).

        .. caution ::

            This creates a stateful ``tzinfo`` object that may not behave as
            expected when performing arithmetic on timezone-aware datetimes.

        :param dt:
            A timezone-aware :class:`datetime.dateime` object.
         N/A tzi N/A N/A self _as_fold_naive N/A dt N/A N/A dt replace tzinfo tzi N/A dt_wall N/A N/A N/A super _tzinfo tzi fromutc dt N/A _fold N/A N/A self _fold_status dt dt_wall N/A N/A _fold N/A self _fold N/A N/A N/A tzi _fold _fold N/A N/A dt_wall N/A N/A dt_wall replace tzinfo self N/A dt_wall N/A N/A