Skip to content

Commit ccc3f22

Browse files
committed
fix: 一部、ドキュメントがおかしいのを修正。
1 parent c0bf1dc commit ccc3f22

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "i21y"
3-
version = "0.1.0b3"
3+
version = "0.1.0"
44
description = "The library for i18n support."
55
authors = ["Takagi Tasuku <tasuren@outlook.jp>"]
66
license = "MIT"

src/i21y/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"tasuren - i21y"
22

33
__author__ = "Takagi Tasuku"
4-
__version__ = "0.1.0b3"
4+
__version__ = "0.1.0"
55
__all__ = ("Translator", "I21YError", "TranslationNotFound", "locale_str")
66

77
from .translator import Translator

src/i21y/abc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def search_impl(
1818
self, locale: str, key: str,
1919
default: SearchT | type[Undefined] = Undefined
2020
) -> str | SearchT:
21-
"Implementation of :meth:`abc.Loader.search`. Arguments is same as ``.search``."
21+
"Implementation of :meth:`.abc.Loader.search`. Arguments is same as ``.search``."
2222

2323
@overload
2424
def search(

src/i21y/translator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def translate(
5151
.. code-block:: python
5252
5353
t = Translator()
54-
print("responses.not_found"))
54+
print(t("responses.not_found"))
5555
5656
Raises:
5757
TranslationNotFound: If translation is not found, this function will raise it."""

0 commit comments

Comments
 (0)