mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
[stubsabot] Bump babel to 2.10.* (#8222)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
version = "2.9.*"
|
||||
version = "2.10.*"
|
||||
requires = ["types-pytz"]
|
||||
|
||||
@@ -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 = ...): ...
|
||||
@@ -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): ...
|
||||
|
||||
@@ -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 = ...
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user