File: string_annotation.py

package info (click to toggle)
mkdocstrings 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 708 kB
  • sloc: python: 2,337; makefile: 39; sh: 18; javascript: 13
file content (8 lines) | stat: -rw-r--r-- 119 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
from typing import Literal


class Foo:
    @property
    def foo() -> Literal["hi"]:
        "hi"
        return "hi"