diff --git a/python/pyspark/sql/functions.py b/python/pyspark/sql/functions.py index 95ea25b061030..2c8c8e2d80f09 100644 --- a/python/pyspark/sql/functions.py +++ b/python/pyspark/sql/functions.py @@ -2089,7 +2089,7 @@ def _wrapped(self): """ # It is possible for a callable instance without __name__ attribute or/and - # __module__ attribute to be wrapped here For example, functools.partial. In this case, + # __module__ attribute to be wrapped here. For example, functools.partial. In this case, # we should avoid wrapping the attributes from the wrapped function to the wrapper # function. So, we take out these attribute names from the default names to set and # then manually assign it after being wrapped.