Eric Traut
0cf9a38eb8
Addressed minor errors caught by pyright in stdlib stubs ( #4880 )
...
* Removed unused import symbols from stdlib stubs and fixed a few other errors detected by pyright. I did a similar pass several months ago; these were introduced since then.
* Added a few missing types and type arguments. Removed unused import statement. Removed default values that caused overloads to have overlapping signatures.
Co-authored-by: Eric Traut <erictr@microsoft.com >
2021-01-01 15:00:09 +01:00
Sebastian Rittau
91582e6921
Drop old branches in stdlib/3/os/path.pyi ( #4878 )
...
* Drop support for Python 3.5 in stdlib/3/os/path.pyi
* Remove more obsolete branches
2020-12-30 12:41:09 -08:00
Mickaël Schoentgen
67648a7dba
Allow None in value_name argument to winreg.SetValueEx() ( #4663 )
2020-10-13 23:26:11 +02:00
Kevin Wojniak
a19abfd454
Undo int value for winreg SetValue ( #4664 )
2020-10-13 23:23:32 +02:00
Kevin Wojniak
3d89b276d1
Accept int value for winreg SetValue(Ex) ( #4640 )
...
When the type is DWORD an integer is allowed as the value type.
Here is a 3.9 test in cpython as an example: https://github.com/python/cpython/blob/3.9/Lib/test/test_winreg.py#L339
2020-10-12 14:51:48 +02:00
Eric Traut
f46fb7ff59
Added some missing type annotations in stdlib stubs. ( #4418 )
...
Co-authored-by: Eric Traut <erictr@microsoft.com >
2020-08-08 20:49:37 +02:00
Jelle Zijlstra
5d553c9584
apply black and isort ( #4287 )
...
* apply black and isort
* move some type ignores
2020-06-28 13:31:00 -07:00
Rune Tynan
712f6d3709
Fix winreg pos-only args and parameter names ( #4117 )
...
* Fix winreg pos-only args and parameter names
* Fix consistency check
2020-05-27 20:22:32 -07:00
Rune Tynan
e49c156d92
Add winreg stubs ( #3794 )
2020-05-27 17:15:08 +02:00