massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / babel / babel / util.pyi
1 import collections
2 import textwrap
3 from datetime import tzinfo
4 from typing import Any
5
6 from babel import localtime as localtime
7
8 missing: Any
9
10 def distinct(iterable) -> None: ...
11
12 PYTHON_MAGIC_COMMENT_re: Any
13
14 def parse_encoding(fp): ...
15
16 PYTHON_FUTURE_IMPORT_re: Any
17
18 def parse_future_flags(fp, encoding: str = ...): ...
19 def pathmatch(pattern, filename): ...
20
21 class TextWrapper(textwrap.TextWrapper):
22     wordsep_re: Any
23
24 def wraptext(text, width: int = ..., initial_indent: str = ..., subsequent_indent: str = ...): ...
25
26 odict = collections.OrderedDict
27
28 class FixedOffsetTimezone(tzinfo):
29     zone: Any
30     def __init__(self, offset, name: Any | None = ...) -> None: ...
31     def utcoffset(self, dt): ...
32     def tzname(self, dt): ...
33     def dst(self, dt): ...
34
35 UTC: Any
36 LOCALTZ: Any
37 get_localzone = localtime.get_localzone
38 STDOFFSET: Any
39 DSTOFFSET: Any
40 DSTDIFF: Any
41 ZERO: Any