mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Patch #631972: Adds an is_jython flag.
This commit is contained in:
parent
768c98bb0b
commit
57bc5fa60a
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue