|
Orbits
1
|
Public Member Functions | |
| def | __init__ |
| def | __getitem__ |
Public Attributes | |
| default | |
Dict with 2 special properties:
On initiation, keys that are lists, sets or tuples are converted to
multiple keys so accessing any one of the items in the original
list-like object returns the matching value
md = MethodDispatcher({("foo", "bar"):"baz"})
md["foo"] == "baz"
A default value which can be set through the default attribute.
| def pip._vendor.html5lib.utils.MethodDispatcher.__init__ | ( | self, | |
items = () |
|||
| ) |
| def pip._vendor.html5lib.utils.MethodDispatcher.__getitem__ | ( | self, | |
| key | |||
| ) |
| pip._vendor.html5lib.utils.MethodDispatcher.default |
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.