diff --git a/docs/fakerclass.rst b/docs/fakerclass.rst index 656b4c8b22..0ef8b2bee8 100644 --- a/docs/fakerclass.rst +++ b/docs/fakerclass.rst @@ -183,10 +183,10 @@ OrderedDict with more than one valid locale, post-normalization. For example: ('ja-JP', 2), ('en_US', 2), ]) - fake2 = Faker(odict) + fake2 = Faker(locale_odict) # Will return ['en_US', 'ja_JP'] - fake1.locales + fake2.locales In this mode, calling a prospective provider method from the new ``Faker`` instance will run factory/selection logic in this order: