Files
typeshed/stdlib
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-04-25 21:56:54 -07:00
2021-05-21 15:46:01 +02:00
2021-05-17 20:45:48 +02:00
2021-04-29 07:02:52 -07:00
2021-05-02 16:24:34 -07:00
2021-05-15 20:49:20 +03:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-05-26 22:16:51 +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-06 18:57:33 +03:00
2021-05-01 20:58:30 -07:00
2021-06-24 16:56:09 +03:00
2021-05-30 20:17:33 +02:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00
2021-06-28 15:29:21 -07:00
2021-05-05 17:23:43 +03:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02: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-13 18:20:55 -07:00
2021-05-17 20:45:48 +02: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-05 17:23:43 +03:00
2021-05-17 20:45:48 +02:00
2021-04-23 10:15:07 -07:00
2021-04-14 19:14:07 -07:00
2021-05-05 17:23:43 +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-11 10:46:26 +02:00
2021-04-30 20:05:06 +02:00
2021-05-17 20:45:48 +02:00
2021-04-18 09:30:00 -07:00
2021-03-23 20:56:47 -07:00
2021-05-17 20:45:48 +02:00
2021-05-30 20:17:33 +02:00
2021-05-30 20:17:33 +02:00
2021-05-13 18:20:55 -07: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-04-17 07:03:28 -07:00
2021-05-29 11:09:50 -07:00
2021-06-09 00:27:49 +03:00