diff --git a/axelrod/random_.py b/axelrod/random_.py index b0b39898d..35f0de547 100644 --- a/axelrod/random_.py +++ b/axelrod/random_.py @@ -8,8 +8,7 @@ def random_choice(p: float = 0.5) -> Action: """ Return 'C' with probability `p`, else return 'D' - Emulates Python's random.choice(['C', 'D']) since it is not consistent - across Python 2.7 to Python 3.4 + No random sample is carried out if p is 0 or 1. Parameters ----------