[docs] Documentation bug

Austin, Richard (CIP Fort Collins) richard.austin at hp.com
Wed Jan 28 20:46:24 CET 2015


On this page

https://docs.python.org/3.1/library/re.html

in section 7.2.6.1, the second sentence ends with 'and "1" through "9" representing the card with that value'.  Since the ace is represented by "a", I believe this should be 'and "2" through "9" representing the card with that value'.

This would also change the regular expression in the code excerpt immediately following.  I believe the first line should change to

valid = re.compile(r"[02-9akqj]{5}$")


Thanks!
Richard Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20150128/5954353b/attachment-0001.html>


More information about the docs mailing list