Commit Graph
5 Commits
Author SHA1 Message Date
Sebastian Meßmer 34b343ba66 Add missing type hints to atexit.register() (#571) 2016-09-23 13:35:55 -07:00
Sebastian Meßmer 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ßmer 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ßmer 052574d821 Add missing type hints to subprocess.pyi (#539) 2016-09-13 09:17:17 -07:00
Sebastian Meßmer f728e413b8 Fix a missing type in stat.pyi (#536) 2016-09-12 11:13:42 -07:00