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
5076740d
Commit
5076740d
authored
Nov 22, 2008
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#4361: fix string.py docstring, clarify that only ASCII characters are in its constants.
parent
4216d2d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
Doc/library/string.rst
Doc/library/string.rst
+1
-1
Lib/string.py
Lib/string.py
+9
-9
No files found.
Doc/library/string.rst
View file @
5076740d
...
...
@@ -71,7 +71,7 @@ The constants defined in this module are:
.. data:: whitespace
A string containing all characters that are considered whitespace.
A string containing all
ASCII
characters that are considered whitespace.
This includes the characters space, tab, linefeed, return, formfeed, and
vertical tab.
...
...
Lib/string.py
View file @
5076740d
...
...
@@ -2,15 +2,15 @@
Public module variables:
whitespace -- a string containing all
characters considered
whitespace
lowercase -- a string containing all characters considered
lowercase letters
uppercase -- a string containing all characters considered
uppercase letters
letters -- a string containing all characters considered
letters
digits -- a string containing all
characters considered
decimal digits
hexdigits -- a string containing all
characters considered
hexadecimal 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
whitespace -- a string containing all
ASCII
whitespace
ascii_lowercase -- a string containing all ASCII
lowercase letters
ascii_uppercase -- a string containing all ASCII
uppercase letters
ascii_letters -- a string containing all ASCII
letters
digits -- a string containing all
ASCII
decimal digits
hexdigits -- a string containing all
ASCII
hexadecimal digits
octdigits -- a string containing all
ASCII
octal digits
punctuation -- a string containing all
ASCII punctuation characters
printable -- a string containing all
ASCII
characters considered printable
"""
...
...
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