[New-bugs-announce] [issue38409] Typo in doc string for str.strip

Bob Dowling report at bugs.python.org
Tue Oct 8 09:59:54 EDT 2019


New submission from Bob Dowling <bob.dowling.64 at gmail.com>:

The doc string for str.strip() has a typo: the "d" at the end of "removed" is missing.

help(str.strip)

Currently:
Return a copy of the string with leading and trailing whitespace remove.

Should be:
Return a copy of the string with leading and trailing whitespace removed.

I have attached an offered patch.

----------
components: Library (Lib)
files: str_strip.patch
keywords: patch
messages: 354209
nosy: Bob Dowling
priority: normal
severity: normal
status: open
title: Typo in doc string for str.strip
type: behavior
versions: Python 3.7
Added file: https://bugs.python.org/file48648/str_strip.patch

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38409>
_______________________________________


More information about the New-bugs-announce mailing list