Commit Graph

6 Commits

Author SHA1 Message Date
rchen152
16ec7cbdf0 Add __new__ to time.struct_time (#1394)
This is needed because otherwise pytype uses the `__new__` inherited from the `NamedTuple` base class.
2017-06-06 15:36:01 -07:00
rchen152
2161f72990 time.mktime can take a struct_time or a tuple. (#1380) 2017-06-01 17:37:13 -07:00
Matthias Kramm
7a211921dd asctime/strftime take a tuple, too (#921) 2017-02-07 16:22:47 -08:00
Lukasz Langa
fe0e3744cc Fixing flake8 E261 errors 2016-12-19 22:09:35 -08:00
Onno Kortmann
2d19599b68 python2: gmtime(None), localtime(None), and ctime(None) works (#662) 2016-11-11 09:33:50 -08:00
Guido van Rossum
cb97bb54c0 Move 2.7 to 2 (#635)
Closes #579.
2016-10-26 16:24:49 -07:00