Author oulenz
Recipients Dimitri Papadopoulos Orfanos, docs@python, ezio.melotti, joel.johnson, jwilk, nitishch, oulenz
Date 2018-04-11.14:49:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Slightly tangential, but it would be great if the documentation of lstrip() and rstrip() could include an equivalent definition in terms of re.sub(), e.g.:

lstrip(foo) == re.sub(r'(?u)\A\s*', '', foo)
rstrip(foo) == re.sub(r'(?u)\s*\Z', '', foo)

(Or whatever else is correct.)
Date User Action Args
2018-04-11 14:49:18oulenzsetrecipients: + oulenz, jwilk, ezio.melotti, docs@python, Dimitri Papadopoulos Orfanos, nitishch, joel.johnson
2018-04-11 14:49:18oulenzsetmessageid: <>
2018-04-11 14:49:18oulenzlinkissue25433 messages
2018-04-11 14:49:18oulenzcreate