# cfdm.Field._docstring_package_depth¶

Field._docstring_package_depth()[source]

Return the package depth, N, for {{package}} docstring substitutions for the given class.

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.

New in version (cfdm): 1.8.7.0

_docstring_special_substitutions, _docstring_substitutions, _docstring_method_exclusions, __docstring_substitutions__, __docstring_package_depth__, __docstring_method_exclusions__
int