partialmethod
nounUK /ˈpɑːʃəl ˈmɛθəd/
US /ˈpɑːrʃəl ˈmɛθəd/
A partialmethod is a way to save a method with some of its settings already filled in.
The programmer used a partialmethod so the function would remember the name value.
OTHER MEANINGS
2. In Python, a descriptor that behaves like functools.partial but is meant to be used inside a class body.
He defined a partialmethod in the class to preset one argument.
3. A method whose implementation is only partly specified and completed elsewhere.
The interface declared a partialmethod that subclasses must finish.
4. A stored callable that keeps some parameters fixed for later use.
The partialmethod remembered the default color for every call.