Files
typeshed/stdlib/3
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
..
2017-11-09 10:32:17 -08:00
2017-05-23 09:51:29 -07:00
2017-04-24 15:31:29 -07:00
2016-12-19 23:53:19 -08:00
2017-04-24 15:04:42 -07:00
2017-01-26 12:05:53 -08:00
2016-12-21 01:15:26 -08:00
2017-06-02 12:53:38 -07:00
2017-11-09 05:56:55 -08:00
2017-11-08 19:39:55 -08:00
2017-04-24 15:31:29 -07:00
2017-04-27 08:48:22 -07:00
2017-04-30 14:16:30 -07:00
2016-12-20 00:47:51 -08:00
2016-12-20 00:16:44 -08:00
2017-05-24 14:09:52 -07:00
2017-04-24 14:57:26 -07:00
2017-11-13 06:56:24 -08:00
2016-12-19 22:09:35 -08:00
2017-05-31 12:07:21 -07:00
2018-01-23 14:27:01 -08:00
2017-03-23 08:26:45 -07:00
2017-10-23 15:26:58 -04:00
2017-10-08 21:12:19 -07:00