1. ableton
  2. WebHelpers

Commits

slug...@gmail.com  committed bc149bf

Docs.

  • Participants
  • Parent commits b5d2fab
  • Branches trunk

Comments (0)

Files changed (2)

File docs/modules/containers.rst

View file
 .. autofunction:: extract_keys
 .. autofunction:: only_some_keys
 .. autofunction:: ordered_items
+.. autofunction:: get_many
 .. autofunction:: transpose
 .. autofunction:: unique
 

File webhelpers/containers.py

View file
             yield key, value
 
 def get_many(d, required=None, optional=None, one_of=None):
-    """Return a predictable number of dict values to handle optional keys.
+    """Extract values from a dict for unpacking into simple variables.
 
     ``d`` is a dict.