* Alias "|" operator to "+" operator.

This commit is contained in:
Wirawan Purwanto
2012-02-09 15:02:38 -05:00
parent 3698671bed
commit 5666280a45

View File

@@ -266,6 +266,7 @@ class Parameters(dict):
rslt = self._copy_()
rslt._update_(srcdict)
return rslt
__or__ = __add__
def _create_(self, *defaults, **_options_):
"""Creates a new Parameters() object for standardized function-level
parameter lookup.