This website requires JavaScript.
Explore
Help
Sign In
innov
/
django1
Watch
1
Star
0
Fork
You've already forked django1
0
Code
Issues
Pull Requests
1
Projects
Releases
Wiki
Activity
54790e669d
django1
/
django
/
contrib
/
gis
/
__init__.py
7 lines
100 B
Python
Raw
Normal View
History
Unescape
Escape
[py3] Added buffer/memoryview compatibility Even if buffer and memoryview are not strictly identical, it should be safe to consider them equivalent for GIS support. Thanks Aymeric Augustin for the review.
2012-09-24 01:55:52 +08:00
from
django
.
utils
import
six
if
six
.
PY3
:
memoryview
=
memoryview
else
:
memoryview
=
buffer