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
09895c27
Commit
09895c27
authored
Oct 09, 2019
by
Zachary Ware
Committed by
GitHub
Oct 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-38409: Fix grammar in str.strip() docstring (GH-16682)
parent
ecbf35f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Objects/clinic/unicodeobject.c.h
Objects/clinic/unicodeobject.c.h
+2
-2
Objects/unicodeobject.c
Objects/unicodeobject.c
+2
-2
No files found.
Objects/clinic/unicodeobject.c.h
View file @
09895c27
...
...
@@ -582,7 +582,7 @@ PyDoc_STRVAR(unicode_strip__doc__,
"strip($self, chars=None, /)
\n
"
"--
\n
"
"
\n
"
"Return a copy of the string with leading and trailing whitespace remove.
\n
"
"Return a copy of the string with leading and trailing whitespace remove
d
.
\n
"
"
\n
"
"If chars is given and not None, remove characters in chars instead."
);
...
...
@@ -1232,4 +1232,4 @@ unicode_sizeof(PyObject *self, PyObject *Py_UNUSED(ignored))
{
return
unicode_sizeof_impl
(
self
);
}
/*[clinic end generated code: output=
5e15747f78f18329
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
e4ed33400979c7e8
input=a9049054013a1b77]*/
Objects/unicodeobject.c
View file @
09895c27
...
...
@@ -12544,14 +12544,14 @@ str.strip as unicode_strip
chars: object = None
/
Return a copy of the string with leading and trailing whitespace remove.
Return a copy of the string with leading and trailing whitespace remove
d
.
If chars is given and not None, remove characters in chars instead.
[clinic start generated code]*/
static
PyObject
*
unicode_strip_impl
(
PyObject
*
self
,
PyObject
*
chars
)
/*[clinic end generated code: output=ca19018454345d57 input=
eefe24a1059c352b
]*/
/*[clinic end generated code: output=ca19018454345d57 input=
385289c6f423b954
]*/
{
return
do_argstrip
(
self
,
BOTHSTRIP
,
chars
);
}
...
...
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