Skip to content

Commit

Permalink
Change doc return type
Browse files Browse the repository at this point in the history
  • Loading branch information
ILilliasI committed Mar 30, 2024
1 parent 8ca92dd commit 4a5fd8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/ast.py
Expand Up @@ -349,7 +349,7 @@ def varcomp(tlist: list[tuple[Any, javalang.tree.ClassDeclaration]]) -> float:

def pcn(tlist: list[tuple[Any, javalang.tree.ClassDeclaration]]) -> int:
"""Return number of words in the name of a class.
r:type: float
r:type: int
"""
classname = tlist[0][1].name
# By naming convention Java classes names use PascalCase.
Expand Down

0 comments on commit 4a5fd8e

Please sign in to comment.