Print the given string on each event
Definition at line 12 of file conditional_iov.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
print_string |
|
) |
| |
Remember the given string to print later
Definition at line 15 of file conditional_iov.py.
15 def __init__(self, print_string):
16 """Remember the given string to print later"""
17 super().__init__()
18
19 self._print_string = print_string
20
◆ event()
And now would be a good time for printing ...
Definition at line 21 of file conditional_iov.py.
21 def event(self):
22 """And now would be a good time for printing ..."""
23 print(self._print_string)
24
25
◆ _print_string
The documentation for this class was generated from the following file: