curry.utility.shared module
- class curry.utility.shared.DefaultDict[source]
Bases:
defaultdictLike defaultdict but recursively copies values.
- copy() → a shallow copy of D.
- class curry.utility.shared.Shared(ty, obj=None)[source]
Bases:
objectManages an object with copy-on-write semantics. To access the contained object for reading or writing, use the
readandwritemethods, resp. If the object has multiple references, then writing will trigger a copy.- property read
- property refcnt
- property unique
- property write