diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-09-05 19:44:38 -0400 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-09-05 19:44:38 -0400 |
commit | 0a7e4f433620baa234262787f85221fd95d38fc5 (patch) | |
tree | c0adeda3ba52eb24135927a779bc06da655ca049 /six.py | |
parent | a02e81d6c0652dbf74a19057c40ef5c41692c93a (diff) | |
download | six-0a7e4f433620baa234262787f85221fd95d38fc5.tar.gz |
check for java properly
Diffstat (limited to 'six.py')
-rw-r--r-- | six.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ else: text_type = unicode binary_type = str - if sys.platform == "java": + if sys.platform.startswith("java"): # Jython always uses 32 bits. MAXSIZE = int((1 << 31) - 1) else: |