mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-01 09:16:22 +08:00
Use positional-only arguments for IO (#6851)
This commit is contained in:
1 parent
267bb2485a
commit
f4ce1ebaf8
4 files changed
+25
-10
No files matched your search
@@ -16,6 +16,18 @@ _collections_abc.MutableMapping.__setitem__
|
||||
_collections_abc.MutableMapping.pop
|
||||
_collections_abc.MutableMapping.setdefault
|
||||
|
||||
# typing.IO uses positional-or-keyword arguments, but in the stubs we prefer
|
||||
# to mark these as positional-only for compatibility with existing sub-classes.
|
||||
typing.BinaryIO.write
|
||||
typing.IO.__exit__
|
||||
typing.IO.read
|
||||
typing.IO.readline
|
||||
typing.IO.readlines
|
||||
typing.IO.seek
|
||||
typing.IO.truncate
|
||||
typing.IO.write
|
||||
typing.IO.writelines
|
||||
|
||||
ast.Bytes.__new__
|
||||
ast.Ellipsis.__new__
|
||||
ast.ExtSlice.__new__
|
||||
|
||||
Reference in new issue
Block a user