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
5428fff1
Commit
5428fff1
authored
Aug 05, 2002
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use ascii_letters to avoid UnicodeErrors.
parent
de392d3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Tools/idle/CallTips.py
Tools/idle/CallTips.py
+4
-1
No files found.
Tools/idle/CallTips.py
View file @
5428fff1
...
...
@@ -76,7 +76,10 @@ class CallTips:
return
""
#so the event is handled normally.
def
get_object_at_cursor
(
self
,
wordchars
=
"._"
+
string
.
uppercase
+
string
.
lowercase
+
string
.
digits
):
wordchars
=
"._"
+
string
.
ascii_letters
+
string
.
digits
):
# Usage of ascii_letters is necessary to avoid UnicodeErrors
# if chars contains non-ASCII.
# XXX - This needs to be moved to a better place
# so the "." attribute lookup code can also use it.
text
=
self
.
text
...
...
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