cloc is unable to infer the meaning of docstrings by context; by default cloc treats all docstrings as comments. The switch --docstring-as-code treats all docstrings as code. Language definition files read with --read-lang-def or --force-lang-def must be plain ASCII text files. cloc ...