NestingOpenClosedMixin
This is a mixin class for objects with multiple open/close users. After the last .close, the object’s .shutdown method is called. This also presented the context manager interface to allow open/close thus:
with obj: do stuff while open
@notclosed
Decorator for object methods which must not be called after the object is closed.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cs.resources-20150115.tar.gz
(3.2 kB
view details)
File details
Details for the file cs.resources-20150115.tar.gz.
File metadata
- Download URL: cs.resources-20150115.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebb3c6352067189068ddc0716fcadb5a6233fa17aa4a109794588dc008ebf099
|
|
| MD5 |
bfcf94962ae530f73b574928b816f796
|
|
| BLAKE2b-256 |
66a02ae45893df5a9de748c73689c449098ebc725b70d26f7bfc0078a0ec0480
|