Skip to content

Commit 69e4352

Browse files
committed
-
1 parent 1277cc3 commit 69e4352

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

source_py3/python_toolbox/persistent/human_names/__init__.py renamed to source_py3/python_toolbox/human_names/__init__.py

File renamed without changes.

source_py3/python_toolbox/persistent/human_names/_name_list.py renamed to source_py3/python_toolbox/human_names/_name_list.py

File renamed without changes.

source_py3/python_toolbox/persistent/personality.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
'''
99

1010
import colorsys
11+
1112
from .persistent import Persistent
1213

1314

@@ -29,10 +30,13 @@ class Personality:
2930

3031
def __init__(self, persistent):
3132

33+
34+
from python_toolbox import human_names
35+
# (Importing inside function to avoid importing this heavy module on
36+
# general import time.)
37+
3238
assert isinstance(persistent, Persistent)
3339

34-
from . import human_names
35-
3640
color_resolution = 100
3741

3842
u = int(persistent._CrossProcessPersistent__uuid)

0 commit comments

Comments
 (0)