sloc-languages 1.6.13

Language detection and lexical SLOC analysis for 60 languages — IEEE 1045-1992 compliant
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""Module docstring."""


def greet(name):
    """Return a greeting string."""
    return "Hello, " + name  # inline comment


class Greeter:
    """Greeter class."""

    def hello(self):
        # Intentionally empty — corpus test fixture for empty-method detection
        pass