resourcing related classes and functions
Project description
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.
Project details
Release history Release notifications | RSS feed
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-20160828.tar.gz
(4.1 kB
view details)
File details
Details for the file cs.resources-20160828.tar.gz
.
File metadata
- Download URL: cs.resources-20160828.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7bdfd01d9aafef601a67f255c938ec694e2ef1496c1f10ed7359a40647cb4cd |
|
MD5 | ee121e8ff8f5597c6f401450a39fff7b |
|
BLAKE2b-256 | becb62e1c2073133f95ecf9faf80c06b46a611a555e822327d5b259a7ad757d0 |