Make the env to implement Dict interface
By making the Environment object a subclass of UserDict, every methods from dict.* (get, pop, copy, ...) could by used for free. The old self.__store is now available under self.data (see [0]). [0] https://docs.python.org/3/library/collections.html#collections.UserDict
Loading
Please register or sign in to comment