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-20160827.tar.gz
(3.7 kB
view details)
File details
Details for the file cs.resources-20160827.tar.gz
.
File metadata
- Download URL: cs.resources-20160827.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4acd7a61ed000e30b980686379a0a1887f889d074697618a1811f45921bc5a24 |
|
MD5 | d6c6d061207e6063bd0d5b63355a5f20 |
|
BLAKE2b-256 | a02c8dcaf5a6b61167773d367a6dee184e2e61f3a55d32b58cbe7cd927b3c5c7 |