mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Patch #631972: Adds an is_jython flag.
This commit is contained in:
parent
768c98bb0b
commit
57bc5fa60a
@ -81,6 +81,8 @@ try:
|
||||
except NameError:
|
||||
have_unicode = 0
|
||||
|
||||
is_jython = sys.platform.startswith('java')
|
||||
|
||||
import os
|
||||
# Filename used for testing
|
||||
if os.name == 'java':
|
||||
|
Loading…
Reference in New Issue
Block a user