Files
typeshed/stdlib/@python2
Charly C 389b92cb04 fix the stub files for the stdlib mmap module (#5705)
In Python 3:
- The `mmap` type is `Iterable[int]`, not `Iterable[bytes]`.
- The `read_byte` method returns an `int`, and the `write_byte` method only accepts an `int` as its first and only argument.
- The `__setitem__` method accepts any `ReadableBuffer` object, not just `bytes`.

In both Python 2 and 3:
- The `__delitem__` method always raises a `TypeError`, so the proper return type is `NoReturn`.
- The `mmap` type isn't generic, so I've simplified the stubs by removing the unnecessary `_mmap` class.
2021-06-29 08:01:32 -07:00
..
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-15 01:08:37 +02:00
2021-06-24 16:56:09 +03:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-15 01:08:37 +02:00
2021-05-17 20:45:48 +02:00
2021-01-27 12:00:39 +00:00
2021-01-27 12:00:39 +00:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-15 01:08:37 +02:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-15 01:08:37 +02:00
2021-05-15 01:08:37 +02:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-15 01:08:37 +02:00
2021-05-15 01:08:37 +02:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-15 01:08:37 +02:00