Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a7d7e816 authored by Ronan-Alexandre Cherrueau's avatar Ronan-Alexandre Cherrueau Committed by SIMONIN Matthieu
Browse files

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
parent fc070ead
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment