/usr/lib/python3/dist-packages/rstr/__init__.py is in python3-rstr 2.2.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | from rstr.rstr_base import Rstr
from rstr.rstr_base import default_instance as _default_instance
rstr = _default_instance.rstr
xeger = _default_instance.xeger
# This allows convenience methods from rstr to be accessed at the package
# level, without requiring the user to instantiate an Rstr() object.
for alpha in _default_instance._alphabets.keys():
globals()[alpha] = getattr(_default_instance, alpha)
|