about summary refs log tree commit diff stats
path: root/miasm2/core/utils.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2016-01-30 14:56:01 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2016-01-30 21:10:01 +0100
commit3bf16e07198476e614462cb189c7f0ce7a91e444 (patch)
tree12e9aafda5e40182a3f00a65a50d1d2eaf1aa7d2 /miasm2/core/utils.py
parent1cb9cbcc2d71d76faf10d7b822f29c035a758343 (diff)
downloadmiasm-3bf16e07198476e614462cb189c7f0ce7a91e444.tar.gz
miasm-3bf16e07198476e614462cb189c7f0ce7a91e444.zip
Tipo: dictionary
Diffstat (limited to 'miasm2/core/utils.py')
-rw-r--r--miasm2/core/utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/miasm2/core/utils.py b/miasm2/core/utils.py
index 30aff7d2..70520c1b 100644
--- a/miasm2/core/utils.py
+++ b/miasm2/core/utils.py
@@ -53,7 +53,7 @@ def whoami():
 
 
 class BoundedDict(UserDict.DictMixin):
-    """Limited in size dictionnary.
+    """Limited in size dictionary.
 
     To reduce combinatory cost, once an upper limit @max_size is reached,
     @max_size - @min_size elements are suppressed.
@@ -65,7 +65,7 @@ class BoundedDict(UserDict.DictMixin):
     def __init__(self, max_size, min_size=None, initialdata=None,
                  delete_cb=None):
         """Create a BoundedDict
-        @max_size: maximum size of the dictionnary
+        @max_size: maximum size of the dictionary
         @min_size: (optional) number of most used element to keep when resizing
         @initialdata: (optional) dict instance with initial data
         @delete_cb: (optional) callback called when an element is removed
@@ -121,7 +121,7 @@ class BoundedDict(UserDict.DictMixin):
 
     @property
     def data(self):
-        "Return the current instance as a dictionnary"
+        "Return the current instance as a dictionary"
         return self._data
 
     def __getitem__(self, key):