pydpf.utils.doc_function#

class pydpf.utils.doc_function(fun)#

Bases: object

Reflection hack to allow functions that only define a docstring.

__init__(fun)#

Mark an overriding function as docstring only. I.e. the function will default to it’s parent’s implementation at runtime.

Methods

__init__(fun)

Mark an overriding function as docstring only.

update_function(instance, owner, overrides)

update_function(instance, owner, overrides: LambdaType)#