Files
typeshed/stdlib/2and3
Bruce Merry ec6116dfa4 Update mmap stubs for newer Python versions (#4244)
* Update mmap stubs for newer Python versions

Based on the Python stdlib documentation:
- Since Python 3.5, mmap.{find,rfind,write} all accept any bytes-like.
  I've used the _typeshed.ReadableBuffer alias defined in #4232.
- Since Python 3.6, mmap.write returns the number of bytes written.
- Since Python 3.3, mmap.read allows None as the parameter; while in
  Python 2 the argument cannot be omitted.

* Further clean up mmap.pyi

Use the fact that Python 3.0-3.4 are no longer supported to clean up the
version-dependent logic. Functions that always have different signatures
in Python 2/3 are moved from the base _mmap[bytes] to the mmap subclass.
2020-06-21 13:37:19 -07:00
..
2020-02-21 21:27:42 -08:00
2020-06-02 14:08:54 -07:00
2019-10-12 02:45:43 +02:00
2020-06-14 20:44:48 +02:00
2020-05-24 17:53:03 -07:00
2020-06-06 08:45:37 -07:00
2020-04-22 20:02:19 +02:00
2018-09-25 20:23:02 -07:00
2020-05-27 21:42:32 -07:00
2019-12-21 14:48:00 -08:00
2020-06-04 18:32:24 -07:00
2020-06-11 09:10:52 +02:00
2020-05-27 21:42:45 -07:00
2020-06-10 20:57:09 -07:00
2020-06-10 20:57:09 -07:00
2017-04-24 15:05:02 -07:00
2020-05-24 17:41:45 -07:00
2020-05-17 08:59:11 -07:00
2020-03-17 19:44:51 +01:00
2019-09-23 18:24:05 +02:00
2020-06-02 14:08:54 -07:00
2019-11-25 19:46:28 -08:00
2020-01-19 21:04:43 +01:00
2018-06-11 11:26:32 -07:00
2020-03-06 11:07:52 +01:00
2017-04-27 08:14:21 -07:00
2020-01-20 09:02:23 +01:00
2017-04-24 13:55:33 -07:00
2017-03-19 13:08:54 -07:00
2016-08-05 12:04:01 -07:00
2020-06-11 09:10:52 +02:00
2017-05-25 19:39:15 -07:00
2020-06-11 09:10:52 +02:00
2020-02-27 19:18:54 -08:00
2020-06-10 20:57:09 -07:00
2020-02-05 13:06:31 +01:00
2020-05-16 21:30:45 -07:00
2020-02-01 13:44:55 -08:00