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
fd64c590
Commit
fd64c590
authored
Sep 18, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix serious typo!
Add the new constants to the module docstring.
parent
10d27660
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Lib/string.py
Lib/string.py
+3
-1
No files found.
Lib/string.py
View file @
fd64c590
...
@@ -14,6 +14,8 @@ letters -- a string containing all characters considered letters
...
@@ -14,6 +14,8 @@ letters -- a string containing all characters considered letters
digits -- a string containing all characters considered decimal digits
digits -- a string containing all characters considered decimal digits
hexdigits -- a string containing all characters considered hexadecimal digits
hexdigits -- a string containing all characters considered hexadecimal digits
octdigits -- a string containing all characters considered octal digits
octdigits -- a string containing all characters considered octal digits
punctuation -- a string containing all characters considered punctuation
printable -- a string containing all characters considered printable
"""
"""
...
@@ -25,7 +27,7 @@ letters = lowercase + uppercase
...
@@ -25,7 +27,7 @@ letters = lowercase + uppercase
digits
=
'0123456789'
digits
=
'0123456789'
hexdigits
=
digits
+
'abcdef'
+
'ABCDEF'
hexdigits
=
digits
+
'abcdef'
+
'ABCDEF'
octdigits
=
'01234567'
octdigits
=
'01234567'
punctua
c
tion
=
"""!"#$%&'()*+,-./:;<=>?@[
\
]^_`{|}~
"
""
punctuation
=
"""!"#$%&'()*+,-./:;<=>?@[
\
]^_`{|}~
"
""
printable = digits + letters + punctuation + whitespace
printable = digits + letters + punctuation + whitespace
# Case conversion helpers
# Case conversion helpers
...
...
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