pyCraft/minecraft/compat.py

13 lines
225 B
Python
Raw Permalink Normal View History

2015-04-06 02:11:26 +02:00
"""
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