From 5666280a451ae539e958fde233819a368ab6db55 Mon Sep 17 00:00:00 2001 From: Wirawan Purwanto Date: Thu, 9 Feb 2012 15:02:38 -0500 Subject: [PATCH] * Alias "|" operator to "+" operator. --- params/params_flat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/params/params_flat.py b/params/params_flat.py index d0c381e..b08a79d 100644 --- a/params/params_flat.py +++ b/params/params_flat.py @@ -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.