Files
typeshed/stdlib/2and3
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-04-13 20:14:35 -07:00
2017-05-01 07:51:08 -07:00
2017-04-04 20:14:07 -07:00
2017-10-25 09:46:25 -07:00
2016-12-20 00:16:44 -08:00
2017-11-13 06:55:43 -08:00
2017-04-24 15:05:02 -07:00
2016-12-19 23:53:19 -08:00
2017-04-05 13:54:05 -07:00
2016-08-05 07:55:43 -07:00
2016-07-29 08:02:24 -07:00
2017-04-24 15:05:02 -07:00
2017-05-23 16:34:34 -07:00
2016-12-19 22:09:35 -08:00
2017-07-18 19:19:14 -07:00
2017-06-01 17:36:32 -07:00
2017-04-24 15:05:02 -07:00
2016-08-05 12:03:21 -07:00
2016-12-29 10:17:40 -08:00
2016-12-21 01:06:52 -08:00
2016-12-19 23:53:19 -08:00
2017-11-09 10:32:17 -08:00
2017-04-27 08:14:21 -07:00
2017-04-24 13:55:33 -07:00
2017-05-30 21:43:30 -07:00
2017-03-19 13:05:07 -07:00
2017-03-19 13:08:54 -07:00
2016-08-05 12:04:01 -07:00
2016-08-10 13:39:38 -07:00
2016-07-22 07:38:17 -07:00
2017-03-23 08:23:06 -07:00
2017-04-03 09:37:20 -07:00
2017-03-23 08:24:24 -07:00
2017-05-25 19:39:15 -07:00
2017-03-23 08:23:52 -07:00
2017-06-09 06:59:45 -07:00
2017-03-23 08:25:38 -07:00
2016-12-19 22:09:35 -08:00
2017-03-23 08:25:56 -07:00
2017-03-21 05:54:48 -07:00
2017-03-19 17:35:31 -07:00
2017-03-20 21:11:30 -07:00
2017-12-13 08:20:47 -08:00
2017-03-20 20:53:44 -07:00
2017-03-20 20:32:44 -07:00
2016-12-19 21:52:56 -08:00