From ef4c04804f18e3786a2a049e56913d019f305216 Mon Sep 17 00:00:00 2001 From: Patrick Koppenburg <patrick.koppenburg@cern.ch> Date: Wed, 15 Sep 2021 09:49:51 +0200 Subject: [PATCH] There is no print() method. --- Phys/FunTuple/python/FunTuple/FunctorCollection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Phys/FunTuple/python/FunTuple/FunctorCollection.py b/Phys/FunTuple/python/FunTuple/FunctorCollection.py index b5ae62f66..d1aeda24e 100644 --- a/Phys/FunTuple/python/FunTuple/FunctorCollection.py +++ b/Phys/FunTuple/python/FunTuple/FunctorCollection.py @@ -24,7 +24,7 @@ class FunctorCollection(): __getitem__: Dictionary like get item update : extends a given dictionary of functors to the collection, throwing a warning about overwriting an entry if it already exists. pop : given a name or list of names it removes the functors from the collection, raising an error if the entry(ies) does(do) not exist. - print : prints the content of FunctorCollection. + __str__ : helper to print the collection add operator (+) : adds two FunctorCollection, for common entries warns the user about picking the entry from "base" FunctorCollection instance. sub operator (-) : returns a FunctorCollection that contains unique entries between two FunctorCollections. get_loki_functors(self): returns dictionary of loki functors -- GitLab