Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue1581073

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Allow textwrap to preserve leading and trailing whitespace
Type:Stage:
Components:Library (Lib)Versions:
process
Status:closedResolution:accepted
Dependencies:Superseder:
Assigned To: gwardNosy List: dwaynebailey, georg.brandl, gward
Priority:normalKeywords:patch

Created on2006-10-20 07:19 bydwaynebailey, last changed2022-04-11 14:56 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
textarea-drop_whitespace.diffdwaynebailey,2006-10-20 07:19Path for drop_whitespace funtionality
Messages (3)
msg51276 -(view)Author: Dwayne Bailey (dwaynebailey)Date: 2006-10-20 07:19
The attached file add the ability to preservewhitespace in textwrap.  Usefull where you are usingtextwrap in instances where whitespace is significant(I'm using it to reflow Gettext PO file text).By default the current behaviour is preserver so theadded option is called drop_whitespace and by defaultit is set to True.
msg51277 -(view)Author: Dwayne Bailey (dwaynebailey)Date: 2006-10-20 07:22
Logged In: YES user_id=937299Hi Greg, I'm assigning this to you as you seem to be theoriginal author and suggested that was the best step in thisemail:http://mail.python.org/pipermail/python-dev/2005-February/051769.html
msg51278 -(view)Author: Georg Brandl (georg.brandl)*(Python committer)Date: 2007-03-13 18:16
Added patch, test and doc changes inrev. 54341.
History
DateUserActionArgs
2022-04-11 14:56:20adminsetgithub: 44149
2006-10-20 07:19:14dwaynebaileycreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp