BPO | [22459](https://bugs.python.org/issue22459) --- | :--- Nosy | @MojoVampire, @raulcd Files | [issue22459.patch](https://bugs.python.org/file36692/issue22459.patch "Uploaded as text/plain at 2014-09-22.21:17:13 by @raulcd"): Patch *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.* Show more details GitHub fields: ```python assignee = None closed_at = created_at = labels = ['type-feature', 'docs'] title = 'str.strip() documentation: wrong example' updated_at = user = 'https://bugs.python.org/SebKL' ``` bugs.python.org fields: ```python activity = actor = 'python-dev' assignee = 'docs@python' closed = True closed_date = closer = 'python-dev' components = ['Documentation'] creation = creator = 'SebKL' dependencies = [] files = ['36692'] hgrepos = [] issue_num = 22459 keywords = ['patch'] message_count = 5.0 messages = ['227257', '227258', '227309', '227322', '227323'] nosy_count = 5.0 nosy_names = ['docs@python', 'python-dev', 'josh.r', 'SebKL', 'raulcd'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue22459' versions = ['Python 3.4', 'Python 3.5'] ```
Activity
SebKL commentedon Sep 22, 2014
The following example is wrong:
https://docs.python.org/3.4/library/stdtypes.html?highlight=split#str.split
raulcd commentedon Sep 22, 2014
As it is a simple one I will try to submit a patch today or tomorrow. This will be my first contribution to Python.
raulcd commentedon Sep 22, 2014
Patch submitted.
MojoVampire commentedon Sep 23, 2014
LGTM. About a straightforward as it gets.
python-dev commentedon Sep 23, 2014
New changeset 8eb4eec8626c by Benjamin Peterson in branch '3.4':
fix error in split() examples (closes bpo-22459)
https://hg.python.org/cpython/rev/8eb4eec8626c
New changeset 6dcc96fa3970 by Benjamin Peterson in branch 'default':
merge 3.4 (bpo-22459)
https://hg.python.org/cpython/rev/6dcc96fa3970