Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
18187e21
Commit
18187e21
authored
Jun 06, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#6224: s/JPython/Jython/, and remove one link to a module nine years old.
parent
e3b9b5e4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
9 deletions
+6
-9
Doc/library/platform.rst
Doc/library/platform.rst
+1
-1
Doc/library/tkinter.rst
Doc/library/tkinter.rst
+0
-3
Lib/imputil.py
Lib/imputil.py
+4
-4
Objects/unicodeobject.c
Objects/unicodeobject.c
+1
-1
No files found.
Doc/library/platform.rst
View file @
18187e21
...
...
@@ -169,7 +169,7 @@ Java Platform
.. function:: java_ver(release='', vendor='', vminfo=('','',''), osinfo=('','',''))
Version interface for J
P
ython.
Version interface for Jython.
Returns a tuple ``(release, vendor, vminfo, osinfo)`` with *vminfo* being a
tuple ``(vm_name, vm_release, vm_vendor)`` and *osinfo* being a tuple
...
...
Doc/library/tkinter.rst
View file @
18187e21
...
...
@@ -29,9 +29,6 @@ is maintained at ActiveState.)
`Tkinter reference: a GUI for Python <http://infohost.nmt.edu/tcc/help/pubs/lang.html>`_
On-line reference material.
`Tkinter for JPython <http://jtkinter.sourceforge.net>`_
The Jython interface to Tkinter.
`Python and Tkinter Programming <http://www.amazon.com/exec/obidos/ASIN/1884777813>`_
The book by John Grayson (ISBN 1-884777-81-3).
...
...
Lib/imputil.py
View file @
18187e21
...
...
@@ -14,7 +14,7 @@ warnpy3k("the imputil module has been removed in Python 3.0", stacklevel=2)
del
warnpy3k
# note: avoid importing non-builtin modules
import
imp
### not available in J
P
ython?
import
imp
### not available in Jython?
import
sys
import
__builtin__
...
...
@@ -25,7 +25,7 @@ import marshal
__all__
=
[
"ImportManager"
,
"Importer"
,
"BuiltinImporter"
]
_StringType
=
type
(
''
)
_ModuleType
=
type
(
sys
)
### doesn't work in J
P
ython...
_ModuleType
=
type
(
sys
)
### doesn't work in Jython...
class
ImportManager
:
"Manage the import process."
...
...
@@ -639,8 +639,8 @@ def _test_revamp():
# TODO
#
# from Finn Bock:
# type(sys) is not a module in J
P
ython. what to use instead?
# imp.C_EXTENSION is not in J
P
ython. same for get_suffixes and new_module
# type(sys) is not a module in Jython. what to use instead?
# imp.C_EXTENSION is not in Jython. same for get_suffixes and new_module
#
# given foo.py of:
# import sys
...
...
Objects/unicodeobject.c
View file @
18187e21
...
...
@@ -6308,7 +6308,7 @@ unicode_center(PyUnicodeObject *self, PyObject *args)
/* This code should go into some future Unicode collation support
module. The basic comparison should compare ordinals on a naive
basis (this is what Java does and thus J
P
ython too). */
basis (this is what Java does and thus Jython too). */
/* speedy UTF-16 code point order comparison */
/* gleaned from: */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment