Commit Graph

10 Commits

Author SHA1 Message Date
David Zbarsky
167f72dbac Fix typo in mmap const (#2537) 2018-10-22 20:02:05 -07:00
David Zbarsky
099081016e Add more mmap constants (#2386) 2018-08-15 10:39:47 -07:00
rchen152
af98a29823 Add __getslice__ to the Python 2 definition of mmap.mmap (#1812) 2018-01-04 16:16:00 -08:00
Jelle Zijlstra
ac651d2f8c Fix a few TODOs (#1487)
* fix some easy TODOs

* fix io
2017-07-19 20:27:50 +03:00
Jelle Zijlstra
3e51331118 fix parent classes of mmap (#1190)
Fixes #1184
2017-04-22 15:55:23 -07:00
Lukasz Langa
6eb97964fd Fixing flake8 E401, E402 errors 2016-12-20 00:47:51 -08:00
Lukasz Langa
fe0e3744cc Fixing flake8 E261 errors 2016-12-19 22:09:35 -08:00
Guido van Rossum
c9dbb96f1d Change mmap to use bytes. 2016-09-19 15:17:09 -07:00
Alvaro Caceres
4c20cd6711 2and3/mmap.pyi : remove "type: ignore" (#425)
First was for mypy compatibility, but is no longer needed.

Second is removed by going inheriting (Iterable[bytes],
Container[bytes], Sized, Reversible[bytes]) instead of
Sequence[bytes]. Should presumably catch more errors when using __getattr__
2016-08-01 14:20:37 -07:00
Valérian Rousset
0fea15ea29 Add mmap (#412)
* py3 done

* have to have specific version, to much changes

* py2 done

* merge py2 and py3 version

* fix duplicate definition in mypy

* apply version specific def

* rename ContextManager, single line for import
2016-07-29 06:47:23 -07:00