Loading [MathJax]/extensions/tex2jax.js
mandatory_argument Class Reference

workaround before python 3.10 to solve inheritance issues , namely non-default arguments following default arguments. More...

Public Member Functions

def __init__ (self)
 

Detailed Description

workaround before python 3.10 to solve inheritance issues , namely non-default arguments following default arguments.

without this workaround, classes that are derived from the BasePackageClass (which contain default arguments), could not have default arguments in the init function. the object "mandatory_argument" is a placeholder object. in 3.10 the parameter "kw-only" will solve this issue in a more elegant way. fhacksto (26.1.23)