Add methods for Catalog and Message from babel package (#9278)

https://github.com/python/typeshed/issues/9277
This commit is contained in:
Yevhenii Hyzyla
2022-11-25 19:36:51 +01:00
committed by GitHub
parent 95c74ba7e1
commit b3bb9038f8

View File

@@ -29,6 +29,7 @@ class Message:
def __le__(self, other): ...
def __eq__(self, other): ...
def __ne__(self, other): ...
def is_identical(self, other: Message) -> bool: ...
def clone(self): ...
def check(self, catalog: Any | None = ...): ...
@property
@@ -104,3 +105,4 @@ class Catalog:
def update(
self, template, no_fuzzy_matching: bool = ..., update_header_comment: bool = ..., keep_user_comments: bool = ...
) -> None: ...
def is_identical(self, other: Catalog) -> bool: ...