fakeproj.slowdir.slowmodule¶
Attempting to do things very slowly
Module Contents¶
-
class
fakeproj.slowdir.slowmodule.SlowStuff(wait_time: float, num_elements: int)¶ methods for doing things really slowly
-
slow_list(self) → bool¶ create a list and iterate slowly
- Returns
True if the iteration completes
- Return type
bool
-
slow_dict(self) → bool¶ create a dictionary and iterate slowly
- Returns
True if the iteration completes
- Return type
bool
-
dict_setup(self, pre_made_dict: dict) → bool¶ iterate slowly through the supplied dictionary
- Parameters
pre_made_dict (dict) – dictionary of random values
- Returns
True if the iteration completes
- Return type
bool
-