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

master
Wirawan Purwanto 13 years ago
parent 3698671bed
commit 5666280a45
  1. 1
      params/params_flat.py

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

Loading…
Cancel
Save