diff --git a/docs/dicts_doc.md b/docs/dicts_doc.md index 5e8bce6..9010392 100755 --- a/docs/dicts_doc.md +++ b/docs/dicts_doc.md @@ -34,3 +34,49 @@ dictionary, and the sum of a single dictionary is a copy of itself. A new `dict` that has all the entries of the given dictionaries. + + +## dicts.omit + +
+dicts.omit(dictionary, keys)
+
+ +Returns a new `dict` that has all the entries of `dictionary` with keys not in `keys`. + +**PARAMETERS** + + +| Name | Description | Default Value | +| :------------- | :------------- | :------------- | +| dictionary | A dict. | none | +| keys | A sequence. | none | + +**RETURNS** + +A new `dict` that has all the entries of `dictionary` with keys not in `keys`. + + + + +## dicts.pick + +
+dicts.pick(dictionary, keys)
+
+ +Returns a new `dict` that has all the entries of `dictionary` with keys in `keys`. + +**PARAMETERS** + + +| Name | Description | Default Value | +| :------------- | :------------- | :------------- | +| dictionary | A dict. | none | +| keys | A sequence. | none | + +**RETURNS** + +A new `dict` that has all the entries of `dictionary` with keys in `keys`. + +