Greg Ward <gward@python.net> writes: > Here are the problems that I am aware of: > > * textwrap assumes "whitespace" means "the characters in > string.whitespace" I don't know how precisely you want to formulate the property. If x is a Unicode letter, then x.isspace() tells you whether it is a space character (this property holds for all characters of the Zs category, and all characters that have a bidirectionality of WS, B, or S). > * textwrap assumes "lowercase letter" means "the characters in > string.lowercase" (heck, this only works in English) Works the same way: x.islower() tells you whether a character is lower-case (meaning it is in the Ll category). HTH, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4