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
a1962d6e
Commit
a1962d6e
authored
22 years ago
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of 1.5.2 compatibility hack. :-)
parent
0375079e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
Lib/idlelib/ClassBrowser.py
Lib/idlelib/ClassBrowser.py
+0
-8
Tools/idle/ClassBrowser.py
Tools/idle/ClassBrowser.py
+0
-8
No files found.
Lib/idlelib/ClassBrowser.py
View file @
a1962d6e
...
...
@@ -14,14 +14,6 @@ import os
import
sys
import
pyclbr
# XXX Patch pyclbr with dummies if it's vintage Python 1.5.2:
if
not
hasattr
(
pyclbr
,
"readmodule_ex"
):
pyclbr
.
readmodule_ex
=
pyclbr
.
readmodule
if
not
hasattr
(
pyclbr
,
"Function"
):
class
Function
(
pyclbr
.
Class
):
pass
pyclbr
.
Function
=
Function
import
PyShell
from
WindowList
import
ListedToplevel
from
TreeWidget
import
TreeNode
,
TreeItem
,
ScrolledCanvas
...
...
This diff is collapsed.
Click to expand it.
Tools/idle/ClassBrowser.py
View file @
a1962d6e
...
...
@@ -14,14 +14,6 @@ import os
import
sys
import
pyclbr
# XXX Patch pyclbr with dummies if it's vintage Python 1.5.2:
if
not
hasattr
(
pyclbr
,
"readmodule_ex"
):
pyclbr
.
readmodule_ex
=
pyclbr
.
readmodule
if
not
hasattr
(
pyclbr
,
"Function"
):
class
Function
(
pyclbr
.
Class
):
pass
pyclbr
.
Function
=
Function
import
PyShell
from
WindowList
import
ListedToplevel
from
TreeWidget
import
TreeNode
,
TreeItem
,
ScrolledCanvas
...
...
This diff is collapsed.
Click to expand it.
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