Files
typeshed/stdlib/2
Matthias Kramm 8d8708594e Make sys.modules a Dict[str, Any] (#1266)
* Add __getattr__ to ModuleType.

Modules can contain anything, so give them a generic "__getattr__(name) -> Any".
This makes code like the following type-check, in pytype:
    sys.modules.get("random").randint

* undo Python 3 change

* Revert "undo Python 3 change"

This reverts commit 96cf2d529e374a754f1ba681f0fc81aab25f81ef.

* Revert "Add __getattr__ to ModuleType."

This reverts commit 3ac1cf8a3b25dabfe386fbf34aef680fb1acd112.

* In stdlib/2/, make sys.modules a Dict[str, Any].

(Instead of Dict[str, ModuleType])
Same as stdlib/3/.
2017-05-20 11:08:25 -07:00
..
2016-10-26 16:24:49 -07:00
2016-12-20 00:16:44 -08:00
2017-04-09 19:27:25 -07:00
2017-01-26 12:05:53 -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
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
2016-12-21 01:06:52 -08:00
2016-12-19 22:09:35 -08:00
2016-11-08 19:39:27 -08:00
2016-10-26 16:24:49 -07:00
2017-03-19 09:43:40 -07:00
2017-02-13 20:21:19 -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
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07: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
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2017-04-02 15:01:17 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08: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-10-26 16:24:49 -07:00
2016-12-20 01:54:34 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2017-04-02 15:01:17 -07:00
2016-12-19 22:09:35 -08:00
2017-04-30 14:16:30 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2017-01-31 09:25:45 -08:00
2016-12-20 02:28:12 -08:00
2016-12-19 23:53:19 -08:00
2016-12-19 22:09:35 -08:00
2016-12-19 23:53:19 -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
2016-12-19 22:09:35 -08:00
2017-04-24 18:53:47 -07:00
2016-12-19 21:52:56 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -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
2017-03-23 08:26:45 -07:00
2017-03-12 19:32:46 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2017-05-08 16:21:51 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 21:52:56 -08:00
2016-12-19 22:09:35 -08:00