[addresses] sample_alphabet (Zipfian) in PO box rather than a uniform choice
This commit is contained in:
@@ -25,7 +25,7 @@ class POBox(NumberedComponent):
|
||||
|
||||
@classmethod
|
||||
def random_letter(cls, alphabet=latin_alphabet):
|
||||
return random.choice(alphabet)
|
||||
return sample_alphabet(alphabet)
|
||||
|
||||
@classmethod
|
||||
def phrase(cls, box_number, language, country=None):
|
||||
|
||||
Reference in New Issue
Block a user