[docs] documentation bug
ubaransel at excite.com
ubaransel at excite.com
Tue Oct 2 14:39:56 CEST 2012
on the following page:
http://docs.python.org/release/2.6.7/library/re.html
or in other words section: "7.2.6.1. Checking For a Pair" in "re" python library documentation it says:
"""
Suppose you are writing a poker program where a player’s hand is represented as a 5-character string with each character representing a card, “a” for ace, “k” for king, “q” for queen, j for jack, “0” for 10, and “1” through “9” representing the card with that value.
"""
there can not be an ace and a "1" card; so it shoud be:
"""
Suppose you are writing a poker program where a player’s hand is represented as a 5-character string with each character representing a card, “a” for ace, “k” for king, “q” for queen, j for jack, “0” for 10, and “2” through “9” representing the card with that value.
"""
This error exists in python 2.6 and 3.1 documentation.
I did not check other versions.
More information about the docs
mailing list