cfdm.Domain._docstring_package_depth¶
- Domain._docstring_package_depth()[source]¶
 Returns the class {{package}} substitutions package depth.
In docstrings,
{{package}}is replaced by the name of the package, as defined by the first N+1.(dot) separated fields of the class’s__module__attribute.N defaults to 0, but may be set to any non-negative integer, M, by creating a
__docstring_package_depth__method that returns M.Added in version (cfdm): 1.8.7.0
See also
_docstring_special_substitutions,_docstring_substitutions,_docstring_method_exclusions,__docstring_substitutions__,__docstring_package_depth__,__docstring_method_exclusions__- Parameters:
 - cls: class
 The class.
- Returns:
 intThe package depth.