You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
787B

  1. from typing import ClassVar, Generic, Iterable, Text, Type, Union
  2. from typing_extensions import Final
  3. class raw:
  4. uniobj: Final[Text]
  5. def __init__(self, uniobj: Text) -> None: ...
  6. class _NamespaceMetaclass(type):
  7. def __getattr__(self, name: str) -> Type[Tag]: ...
  8. class Namespace(metaclass=_NamespaceMetaclass): ...
  9. class Tag(list):
  10. class Attr:
  11. def __getattr__(self, attr: str) -> Text: ...
  12. attr: Final[Attr]
  13. def __init__(self, *args: Union[Text, raw, Tag, Iterable[Tag]], **kwargs: Union[Text, raw]) -> None: ...
  14. def unicode(self, indent: int = ...) -> Text: ...
  15. class html(Namespace):
  16. class Style:
  17. def __init__(self, **kw: Union[str, Text]) -> None: ...
  18. style: ClassVar[Style]
  19. def escape(ustring: Union[str, Text]) -> Text: ...