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
2d047e85
Commit
2d047e85
authored
Jan 12, 2012
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
d716c73d
477a06c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Doc/library/stdtypes.rst
Doc/library/stdtypes.rst
+3
-3
Doc/tutorial/classes.rst
Doc/tutorial/classes.rst
+2
-2
No files found.
Doc/library/stdtypes.rst
View file @
2d047e85
...
...
@@ -1049,7 +1049,7 @@ string functions based on regular expressions.
Return the string left justified in a string of length *width*. Padding is done
using the specified *fillchar* (default is a space). The original string is
returned if *width* is less than ``len(s)``.
returned if *width* is less than
or equal to
``len(s)``.
.. versionchanged:: 2.4
Support for the *fillchar* argument.
...
...
@@ -1113,7 +1113,7 @@ string functions based on regular expressions.
Return the string right justified in a string of length *width*. Padding is done
using the specified *fillchar* (default is a space). The original string is
returned if *width* is less than ``len(s)``.
returned if *width* is less than
or equal to
``len(s)``.
.. versionchanged:: 2.4
Support for the *fillchar* argument.
...
...
@@ -1293,7 +1293,7 @@ string functions based on regular expressions.
Return the numeric string left filled with zeros in a string of length
*width*. A sign prefix is handled correctly. The original string is
returned if *width* is less than ``len(s)``.
returned if *width* is less than
or equal to
``len(s)``.
.. versionadded:: 2.2.2
...
...
Doc/tutorial/classes.rst
View file @
2d047e85
...
...
@@ -409,8 +409,8 @@ argument::
self.add(x)
Methods may reference global names in the same way as ordinary functions. The
global scope associated with a method is the module containing
the clas
s
definition. (
The class itself
is never used as a global scope.) While one
global scope associated with a method is the module containing
it
s
definition. (
A class
is never used as a global scope.) While one
rarely encounters a good reason for using global data in a method, there are
many legitimate uses of the global scope: for one thing, functions and modules
imported into the global scope can be used by methods, as well as functions and
...
...
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