b7b9d88e36ff0c8e0250a65847e10879a9e659dc,src/chaospy/distributions/operators/multiply.py,Mul,__len__,#Mul#,472

Before Change


                ", " + str(self.prm["right"]) + ")")

    def __len__(self):
        with suppress(TypeError):
            return len(self.prm["left"])
        return 1


After Change


                ", " + str(self.prm["right"]) + ")")

    def __len__(self):
        try:
            return len(self.prm["left"])
        except TypeError:
            return 1



@deprecations.deprecation_warning
def mul(left, right):
    
    Distribution multiplication.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


Project Name: jonathf/chaospy
Commit Name: b7b9d88e36ff0c8e0250a65847e10879a9e659dc
Time: 2018-12-14
Author: jonathf@gmail.com
File Name: src/chaospy/distributions/operators/multiply.py
Class Name: Mul
Method Name: __len__


Project Name: has2k1/plotnine
Commit Name: 07a0f3bc177a9bcf44b66a5e2277c2f6b2e3eb49
Time: 2016-07-06
Author: has2k1@gmail.com
File Name: ggplot/geoms/geom_jitter.py
Class Name: geom_jitter
Method Name: __init__


Project Name: eth-cscs/reframe
Commit Name: 639af9a9c1bf22a02fed70ea4286510ac4a02297
Time: 2019-11-20
Author: manitaras@cscs.ch
File Name: reframe/core/schedulers/slurm.py
Class Name: SlurmJob
Method Name: get_all_nodes


Project Name: jonathf/chaospy
Commit Name: a61030774fda442e97fca89fdf86938e18f054f3
Time: 2019-02-19
Author: jonathf@gmail.com
File Name: chaospy/bertran/operators.py
Class Name:
Method Name: bindex


Project Name: has2k1/plotnine
Commit Name: 565bfe890fa85b433bf1be04189212000b3cd327
Time: 2016-04-13
Author: has2k1@gmail.com
File Name: ggplot/geoms/geom.py
Class Name: geom
Method Name: _make_stat


Project Name: jonathf/chaospy
Commit Name: 8c448442d800c852c98bf56d90840389ae752157
Time: 2019-02-19
Author: jonathf@gmail.com
File Name: tests/test_dist.py
Class Name:
Method Name: