"""A submodule."""

class Foo:
    """A class present in two modules."""
    pass

"""A submodule."""

class Foo:
    """A class present in two modules."""
    pass

A submodule. A class present in two modules.