Module Expr Str Import alias ImportFrom alias alias Import alias Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareGtE AttributeLoad NameLoad attr Call NameLoad keyword Num Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad If NameLoad body AugAssignAdd NameStore NameLoad orelse AugAssignSub NameStore NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Return TupleLoad Call NameLoad keyword BinOpAdd BinOpMult Num NameLoad BinOpMult BinOpMult Num Num NameLoad CompareEq Call AttributeLoad NameLoad attr Num Str decorator_list
N/A N/A 
Helper functions for diffscuss's notions of dates.
 N/A calendar datetime datetime timedelta N/A re N/A DT_FORMAT %Y-%m-%dT%H:%M:%S%z N/A INTERNAL_DT_FORMAT_NO_TZ %Y-%m-%dT%H:%M:%S utc_to_local N/A N/A utc_dt N/A N/A N/A 
    From http://stackoverflow.com/a/13287083 (thanks J.F. Sebastian).
     N/A timestamp N/A N/A calendar timegm N/A N/A utc_dt timetuple N/A local_dt N/A N/A datetime fromtimestamp timestamp N/A N/A N/A utc_dt resolution N/A timedelta microseconds 1 N/A N/A N/A local_dt replace microsecond N/A utc_dt microsecond N/A parse_to_local_dt N/A N/A dt_s N/A N/A N/A N/A utc_to_local N/A parse_to_utc_dt dt_s N/A parse_to_utc_dt N/A N/A dt_s N/A N/A N/A dt_no_tz N/A dt_s N/A -6 N/A tz N/A dt_s N/A -5 N/A dt N/A N/A datetime strptime dt_no_tz INTERNAL_DT_FORMAT_NO_TZ N/A N/A td is_neg N/A _tz_to_timedelta tz N/A is_neg N/A N/A dt td N/A N/A dt td N/A dt N/A N/A TZ_RE N/A N/A re compile (\+|-)(\d{2})(\d{2}) _tz_to_timedelta N/A N/A tz N/A N/A N/A match N/A N/A TZ_RE match tz N/A hours N/A int N/A N/A match group 2 N/A minutes N/A int N/A N/A match group 3 N/A N/A N/A timedelta seconds N/A N/A 60 minutes N/A N/A 60 60 hours N/A N/A N/A match group 1 - N/A