pyCraft/minecraft/compat.py
2015-04-16 20:22:49 +02:00

13 lines
225 B
Python

"""
This module stores code used for making pyCraft compatible with
both Python2 and Python3 while using the same codebase.
"""
import six
# ### LONG ###
if six.PY3:
long = int
else: # pragma: no cover
long = long