Kaydet (Commit) a4864a24 authored tarafından Neal Norwitz's avatar Neal Norwitz

Update the docstring to match the code. Will backport.

üst ac30eadc
......@@ -75,10 +75,12 @@ def swapcase(s):
# Strip leading and trailing tabs and spaces
def strip(s, chars=None):
"""strip(s) -> string
"""strip(s [,chars]) -> string
Return a copy of the string s with leading and trailing
whitespace removed.
If chars is given and not None, remove characters in sep instead.
If chars is unicode, S will be converted to unicode before stripping.
"""
return s.strip(chars)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment