polib: fix ordered_metadata return type (#5735)

Also update version in METADATA.toml.
This commit is contained in:
opsyne
2021-07-07 13:07:17 -04:00
committed by GitHub
parent 42247feefb
commit 9d5046ee7f
2 changed files with 2 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
version = "0.1"
version = "1.1"
python2 = true

View File

@@ -39,7 +39,7 @@ class _BaseFile(List[_TB]):
def metadata_as_entry(self) -> POEntry: ...
def save(self, fpath: Optional[Text] = ..., repr_method: str = ...) -> None: ...
def find(self, st: Text, by: str = ..., include_obsolete_entries: bool = ..., msgctxt: bool = ...) -> Optional[_TB]: ...
def ordered_metadata(self) -> List[Text]: ...
def ordered_metadata(self) -> list[tuple[Text, Text]]: ...
def to_binary(self) -> bytes: ...
class POFile(_BaseFile[POEntry]):