121 Commits (41bade96a4d1dcd35bbba79c2eabe052d02756a4)

Author SHA1 Message Date
Barry Warsaw 8bee76106e PEP 292 classes Template and SafeTemplate are added to the string module. 22 years ago
Hye-Shik Chang 3ae811b57d Add rsplit method for str and unicode builtin types. 23 years ago
Raymond Hettinger 4f8f976576 Add optional fillchar argument to ljust(), rjust(), and center() string methods. 23 years ago
Skip Montanaro 0b87444b1b tweak the docstring to not be so focused on 1.6. 23 years ago
Neal Norwitz ffe33b7f24 Attempt to make all the various string *strip methods the same. 23 years ago
Neal Norwitz a4864a2464 Update the docstring to match the code. Will backport. 24 years ago
Martin v. Löwis 1f04610b49 Make strip behave as documented. Will backport to 2.2.3. 24 years ago
Martin v. Löwis 5357c6511d Convert empty string literal to string. Speed up creation of idmap. 24 years ago
Walter Dörwald 65230a2de7 Remove uses of the string and types modules: 24 years ago
Walter Dörwald 068325ef92 Apply the second version of SF patch http://www.python.org/sf/536241 24 years ago
Andrew M. Kuchling 102d1208a8 [Bug #536241] string.zfill() produces mangled output for a Unicode string. 24 years ago
Fred Drake 1453754fcd string.split() docstring described the interpretation of the maxsplit 24 years ago
Fred Drake 960fdf9ac3 Added the constants ascii_letters, ascii_lowercase, and ascii_uppercase 25 years ago
Skip Montanaro 78349072f7 removed __all__ from several modules 25 years ago
Skip Montanaro 0de65807e6 bunch more __all__ lists 25 years ago
Tim Peters 6b6b39e8b6 Nuke accurate but confusing and unhelpful comments about split vs splitfields. 25 years ago
Eric S. Raymond e37340edf2 String method conversion. 25 years ago
Tim Peters 495ad3c8cc Whitespace normalization. 26 years ago
Guido van Rossum 5aff7752eb Make string.translate(s, table) work for Unicode s. Two things are 26 years ago
Fred Drake fd64c5908f Fix serious typo! 26 years ago
Fred Drake 6b2320fa6b Richard Mortier <rmm1002@users.sourceforge.net>: 26 years ago
Thomas Wouters 7e47402264 Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 26 years ago
Fred Drake 046d27215f Martin von Löwis <martin@loewis.home.cs.tu-berlin.de>: 26 years ago
Guido van Rossum 9e896b37c7 Marc-Andre's third try at this bulk patch seems to work (except that 26 years ago
Guido van Rossum 8f0c5a7742 Marc-Andre Lemburg: the maxsplit argument for split() and replace() 26 years ago
Fred Drake 857c4c36b9 Detabify. 26 years ago
Guido van Rossum e7b146fb3b The third and final doc-string sweep by Ka-Ping Yee. 26 years ago
Fred Drake e4f13660f8 split() docstring: Made signature and description for the first 27 years ago
Barry Warsaw 226ae6ca12 Mainlining the string_methods branch. See branch revision log 27 years ago
Guido van Rossum 1b7aec35c4 Fix PR#31 -- zfill() mishandles empty string. 27 years ago
Guido van Rossum 9a34523e19 As Tim Peters points out, ``from string import *'' should not set re to None. 28 years ago
Guido van Rossum a6bb6be95f Strip argument to atol and atof to match what strop does better. 28 years ago
Guido van Rossum 8ca842066c A few lines were indented using spaces instead of tabs -- fix them. 28 years ago
Guido van Rossum 23e21e7cf3 Minor editing corrections. 29 years ago
Guido van Rossum 2003204ba7 Added doc string, provided by Charles Waldman (with some reformatting 29 years ago
Guido van Rossum d0753e20b2 At Barry's suggestion, plug the security leak by using an empty 29 years ago
Guido van Rossum 90d62ab0a1 Since this module is used as a fallback in case no built-in modules 29 years ago
Guido van Rossum 06ba34c5d4 In string.split(), honor maxsplit (if > 0). 29 years ago
Guido van Rossum 9694fcab53 Convert all remaining *simple* cases of regex usage to re usage. 29 years ago
Guido van Rossum 1510565cb5 Add optional 4th argument to count(), matching find() etc. 29 years ago
Guido van Rossum 21aa0ef351 Changed my mind on replace(). 29 years ago
Guido van Rossum 1eb9a81eb9 Added new functions replace() and replace1(). 29 years ago
Guido van Rossum 7b7c578616 Add optional 4th argument to [r]find and [r]index (end of slice). 29 years ago
Guido van Rossum f480c674b1 Use correct separator for capwords(s, sep). 30 years ago
Guido van Rossum 34f173110f Add optional separator character to capwords(), for completeness. 30 years ago
Guido van Rossum 306a8a6338 Add optional third parameter to split() and splitfields(), giving the 30 years ago
Guido van Rossum ed7253ca50 Added 3rd optional argument to translate(), a string of characters to delete. 30 years ago
Guido van Rossum 8775d8b9dc Added capitalize() and capwords(). 30 years ago
Guido van Rossum 2539528810 add translate() -- which was in strop per release 1.3 30 years ago
Guido van Rossum 894a7bb995 default tabsize to 8 31 years ago