summaryrefslogtreecommitdiff
path: root/Lib/string.py
AgeCommit message (Expand)AuthorLines
2015-03-24Issue #23671: string.Template now allows to specify the "self" parameter asSerhiy Storchaka-3/+23
2010-09-18Issue #1686: Fix string.Template when overriding the pattern attribute.Florent Xicluna-9/+3
2012-08-19#13579: minimize code base drift for 'a' string.Formatter change.R David Murray-4/+4
2010-09-13Merged revisions 84470-84471,84566-84567,84759 via svnmerge fromFlorent Xicluna-1/+1
2010-09-08Issue5416 - Revert a documentatin change made to explain replace on negative ...Senthil Kumaran-6/+5
2010-08-09Fix Issue5416 - explain negative value of maxplit in str.replace.Senthil Kumaran-1/+2
2009-09-26#7000: document "sep" in capwords. Add a few testsEzio Melotti-4/+6
2008-11-09fix commentBenjamin Peterson-3/+2
2008-07-18Replace all map(None, a) with list(a).Georg Brandl-1/+1
2008-02-17Backport of PEP 3101, Advanced String Formatting, from py3k.Eric Smith-0/+112
2007-04-12SF 1193128: Let str.translate(None) be an identity transformationRaymond Hettinger-1/+1
2007-03-23Add a type.__init__() method that enforces the same signature asGuido van Rossum-3/+1
2007-03-23- Bug #1683368: The object.__init__() and object.__new__() methods areGuido van Rossum-1/+3
2006-08-14Cookie.py shouldn't "bogusly" use string._idmap.Georg Brandl-1/+0
2006-07-05Fix bug in passing tuples to string.Template. All other values (with workingThomas Wouters-3/+3
2004-12-07Remove outdated references to the regsub module.Raymond Hettinger-3/+2
2004-11-01SF patch #1056967, changes the semantics of Template.safe_substitute() to notBarry Warsaw-1/+1
2004-10-17Invalid patterns to substitute and safe_substitute would crash since patternNeal Norwitz-2/+4
2004-09-26Make the regex pattern easier to read, understand, and modifyRaymond Hettinger-4/+6
2004-09-18At the cost of a modest (but useful in its own right) change in the semanticsBarry Warsaw-8/+6
2004-09-16Whitespace normalization.Tim Peters-1/+1
2004-09-14Make the hint about the None default less ambiguous.Walter Dörwald-1/+1
2004-09-14Enhance the docstrings for unicode.split() and string.split()Walter Dörwald-1/+1
2004-09-14Fix small bugs in Template code.Raymond Hettinger-7/+12
2004-09-13Raymond's good suggestion to re-order the tests in the convert() helper so theBarry Warsaw-13/+16
2004-09-13substitute(), safe_substitute(): Paul Moore provides a better hack for dealingBarry Warsaw-11/+19
2004-09-13Accepted Raymond's patch to combine mapping and keyword arguments, with slightBarry Warsaw-5/+32
2004-09-10Template: remove __slots__ since that interferes with the ability to mix inBarry Warsaw-1/+0
2004-09-10__slots__ went missing from Template.Raymond Hettinger-0/+1
2004-09-10Many updates to PEP 292 templates. Summary:Barry Warsaw-30/+53
2004-08-26Minor improvements to the template code.Raymond Hettinger-18/+15
2004-08-25PEP 292 classes Template and SafeTemplate are added to the string module.Barry Warsaw-34/+106
2003-12-15Add rsplit method for str and unicode builtin types.Hye-Shik Chang-0/+12
2003-11-26Add optional fillchar argument to ljust(), rjust(), and center() string methods.Raymond Hettinger-12/+12
2003-10-03tweak the docstring to not be so focused on 1.6.Skip Montanaro-5/+5
2003-04-10Attempt to make all the various string *strip methods the same.Neal Norwitz-9/+10
2002-11-14Update the docstring to match the code. Will backport.Neal Norwitz-1/+3
2002-11-08Make strip behave as documented. Will backport to 2.2.3.Martin v. Löwis-2/+2
2002-10-14Convert empty string literal to string. Speed up creation of idmap.Martin v. Löwis-3/+4
2002-06-03Remove uses of the string and types modules:Walter Dörwald-5/+1
2002-04-15Apply the second version of SF patch http://www.python.org/sf/536241Walter Dörwald-8/+6
2002-03-29[Bug #536241] string.zfill() produces mangled output for a Unicode string.Andrew M. Kuchling-8/+8
2002-01-30string.split() docstring described the interpretation of the maxsplitFred Drake-3/+3
2001-07-20Added the constants ascii_letters, ascii_lowercase, and ascii_uppercaseFred Drake-0/+3
2001-02-18removed __all__ from several modulesSkip Montanaro-6/+0
2001-02-15bunch more __all__ listsSkip Montanaro-0/+6
2001-02-09Nuke accurate but confusing and unhelpful comments about split vs splitfields.Tim Peters-1/+0
2001-02-09String method conversion.Eric S. Raymond-1/+1
2001-01-15Whitespace normalization.Tim Peters-1/+1
2000-12-19Make string.translate(s, table) work for Unicode s. Two things areGuido van Rossum-4/+11