<s> """<STR_LIT>""" <EOL> import random <EOL> from . names import names as default_names <EOL> class NameGenerator ( object ) : <EOL> def __init__ ( self , names = None ) : <EOL> self . names = names or default_names <EOL> def __call__ ( self ) : <EOL> return self . names . pop ( random . randrange ( len ( self . names ) ) ) <EOL> def __iter__ ( self ) : <EOL> while self . names : <EOL> yield self ( ) </s>
