File: submod.py

package info (click to toggle)
python-srsly 2.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,624 kB
  • sloc: python: 20,571; ansic: 4,287; cpp: 51; sh: 12; makefile: 7
file content (13 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
import typing


def local_submod_function():
    return "hello from a file located in a locally-importable subfolder!"


class LocalSubmodClass:
    def method(self):
        return "hello from a class located in a locally-importable subfolder!"


LocalSubmodT = typing.TypeVar("LocalSubmodT")