Commit Graph
15 Commits
Author SHA1 Message Date
Sebastian MeßmerandMatthias Kramm e6af58a4cc Fix type stubs in locks.pyi (#1250) 2017-05-25 19:32:17 -07:00
Sebastian MeßmerandJelle Zijlstra 3cfc146223 Fix type stubs in streams.pyi (#1252) 2017-05-23 23:14:41 -07:00
Sebastian MeßmerandMatthias Kramm 2ed9ee104f Fix type stubs in transports.pyi (#1255) 2017-05-08 16:26:01 -07:00
Sebastian MeßmerandMatthias Kramm 595e601882 Fix type stubs in events.pyi (#1256) 2017-05-08 16:24:25 -07:00
Sebastian MeßmerandMatthias Kramm 9311e980f4 Fix type stubs in subprocess.pyi (#1253) 2017-05-08 16:24:02 -07:00
Sebastian MeßmerandMatthias Kramm 85866fe1b9 Fix unittest/mock.pyi (#973)
* Fix unittest/mock.pyi

Add a lot of missing types

* Fix formatting

* Make two and from_kall bool

* Further style fixes

* style fixes
2017-03-08 06:50:28 -08:00
Sebastian MeßmerandGuido van Rossum 6ffaadbd67 Fix string.pyi (#971)
Add missing types for two arguments
2017-03-06 08:08:36 -08:00
Sebastian MeßmerandGuido van Rossum afde2fd234 Fix type stubs for logging (#972)
Add missing type for two parameters
2017-03-06 08:05:42 -08:00
Sebastian MeßmerandGuido van Rossum ba82ac08ed Fix type stubs in type.pyi (#970)
Mypy recognized the type hints as parameter names. This fixes that.
2017-03-06 08:04:51 -08:00
Sebastian MeßmerandGuido van Rossum b9ab4ae1c2 Add timeout parameter to subprocess.Popen.wait() (#607)
Also define TimeoutExpired exception.
2016-10-15 14:59:40 -07:00
Sebastian MeßmerandGuido van Rossum 34b343ba66 Add missing type hints to atexit.register() (#571) 2016-09-23 13:35:55 -07:00
Sebastian MeßmerandGuido van Rossum 93ef68315b Fixed types in stdlib/3/concurrent/futures: (#557)
* Fixed types in stdlib/3/concurrent/futures:
 - Remove private classes from public interface
 - Add missing types

* Remove "generated by stubgen" headers from modified type stubs

* - Use ... as default value
- Fix space formatting

* Replace more default values with '...'

* Use 'None' as default value where specified by documentation

* Use explicit Optional[T] type instead of default value None
2016-09-19 08:13:12 -07:00
Sebastian MeßmerandGuido van Rossum 96ba62503b Use concrete type in sys.excepthook() (#547)
This is necessary, because exception formatting functions like `traceback.format_exception()` expect to get `Type[BaseException]`, but sys.excepthook only provided `type`
2016-09-14 08:03:41 -07:00
Sebastian MeßmerandGuido van Rossum 052574d821 Add missing type hints to subprocess.pyi (#539) 2016-09-13 09:17:17 -07:00
Sebastian MeßmerandGuido van Rossum f728e413b8 Fix a missing type in stat.pyi (#536) 2016-09-12 11:13:42 -07:00