diff --git a/pytools/obj_array.py b/pytools/obj_array.py index 7dbd0d44c280c44b25b34e413119d2ae18ed5b40..38039459e3d703cafd612d1c9b4b0bcd98a92911 100644 --- a/pytools/obj_array.py +++ b/pytools/obj_array.py @@ -216,6 +216,8 @@ def obj_array_vectorize_n_args(f, *args): def obj_array_vectorized_n_args(f): # Unfortunately, this can't use partial(), as the callable returned by it # will not be turned into a bound method upon attribute access. + # This may happen here, because the decorator *could* be used + # on methods, since it can "look past" the leading `self` argument. # Only exactly function objects receive this treatment. # # Spec link: