[stubsabot] Bump babel to 2.10.* (#8222)

This commit is contained in:
Shantanu
2022-07-02 02:15:32 +05:30
committed by GitHub
parent 81a95b4b22
commit 1f0172c85d
5 changed files with 6 additions and 25 deletions

View File

@@ -1,2 +1,2 @@
version = "2.9.*"
version = "2.10.*"
requires = ["types-pytz"]

View File

@@ -1,19 +0,0 @@
from typing import Any
PY2: Any
text_type = str
string_types: Any
integer_types: Any
text_to_native: Any
unichr = chr
iterkeys: Any
itervalues: Any
iteritems: Any
izip = zip
imap = map
range_type = range
cmp: Any
array_tobytes: Any
number_types: Any
def force_text(s, encoding: str = ..., errors: str = ...): ...

View File

@@ -105,8 +105,8 @@ def get_datetime_format(format: str = ..., locale=...): ...
def get_time_format(format: str = ..., locale=...): ...
# Basic Parsing
def parse_date(string, locale=...): ...
def parse_time(string, locale=...): ...
def parse_date(string, locale=..., format: str = ...): ...
def parse_time(string, locale=..., format: str = ...): ...
def parse_pattern(pattern): ...
# Undocumented
@@ -142,7 +142,7 @@ class DateTimeFormat:
def format_weekday(self, char: str = ..., num: int = ...): ...
def format_day_of_year(self, num): ...
def format_day_of_week_in_month(self): ...
def format_period(self, char): ...
def format_period(self, char, num): ...
def format_frac_seconds(self, num): ...
def format_milliseconds_in_day(self, num): ...
def format_timezone(self, char, num): ...

View File

@@ -1,3 +1,4 @@
from collections.abc import Callable
from typing import Any
GROUP_NAME: str
@@ -13,6 +14,7 @@ def extract_from_dir(
comment_tags=...,
callback: Any | None = ...,
strip_comment_tags: bool = ...,
directory_filter: Callable[[str], bool] | None = ...,
) -> None: ...
def check_and_call_extract_file(
filepath, method_map, options_map, callback, keywords, comment_tags, strip_comment_tags, dirpath: Any | None = ...

View File

@@ -2,8 +2,6 @@ import abc
from distutils.cmd import Command as _Command
from typing import Any
po_file_read_mode: Any
def listify_value(arg, split: Any | None = ...): ...
class Command(_Command, metaclass=abc.ABCMeta):