Files
typeshed/stdlib/2
Sebastian Rittau 38aea73b4b Merge Python 2 and 3 versions of time.pyi (#1909)
* Use variable annotations
* Replace default values by ellipses
* Remove exceptions from function bodies
* Remove superfluous comments
* Remove superfluous newlines
* Use Optional instead of Union[..., None]
* Replace Union[int, float] by just float

* Make time.pyi (Python 2) more closely resemble the Python 3 stub

* Replace _TIME_TUPLE by TimeTuple
* Reorder imports

* time.pyi: Mark two arguments as optional, mark Unix-only function

* time.pyi (Python 2): Use TimeTuple in NamedTuple and reformat

This makes time.pyi more closely match the Python3 version.

* Merge Python 2 and 3 versions of time.pyi

* Only import SimpleNamespace on Python >= 3.3

* Remove default values from module properties

* Remove Optional from strftime() and asctime()

* accept2dyear was removed in Python 3.3

* Rename TimeTuple to _TimeTuple
2018-02-24 11:49:37 -08:00
..
2016-10-26 16:24:49 -07:00
2017-07-26 08:29:30 -07:00
2017-05-23 09:51:29 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 21:52:56 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2017-03-19 09:43:40 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-12-19 23:53:19 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2017-06-02 21:05:21 -07:00
2017-04-02 15:01:17 -07:00
2016-12-19 21:52:56 -08:00
2016-12-19 23:53:19 -08:00
2016-10-30 14:51:52 -07:00
2016-12-20 01:54:34 -08:00
2016-10-26 16:24:49 -07:00
2017-04-02 15:01:17 -07:00
2017-08-02 08:32:10 -07:00
2017-04-30 14:16:30 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2017-06-05 12:27:34 -07:00
2017-01-31 09:25:45 -08:00
2016-12-19 22:09:35 -08:00
2017-01-31 14:56:48 -08:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2017-04-24 18:53:47 -07:00
2016-12-19 21:52:56 -08:00
2017-11-13 06:56:24 -08:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2017-05-31 12:07:21 -07:00
2017-02-06 17:23:22 -08:00
2016-10-26 16:24:49 -07:00
2017-04-21 17:52:48 -07:00
2017-03-19 09:43:40 -07:00
2016-12-19 23:53:19 -08:00
2018-02-08 11:25:48 -08:00
2017-03-12 19:32:46 -07:00
2017-07-02 15:17:37 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 21:52:56 -08:00