bpod_core.misc.DocstringInheritanceMixin

class bpod_core.misc.DocstringInheritanceMixin

Bases: object

Mixin that automatically inherits docstrings from parent classes.

When a subclass overrides a method or property without providing its own docstring, this mixin copies the docstring from the nearest parent class that defines one. This avoids having to duplicate docstrings across abstract methods and their concrete implementations.