Skip to content

Commit ed8668d

Browse files
committed
Fix code blocks in Translator docs
1 parent 3d41e65 commit ed8668d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

twitchio/ext/commands/translators.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def get_langcode(self, ctx: Context[Any], name: str) -> str | None:
7777
-------
7878
7979
.. code:: python3
80+
8081
# For example purposes only the "get_langcode" method is shown in this example...
8182
# The "translate" method must also be implemented...
8283
@@ -128,6 +129,7 @@ async def translate(self, ctx: Context[Any], text: str, langcode: str) -> str:
128129
-------
129130
130131
.. code:: python3
132+
131133
# For example purposes only the "translate" method is shown in this example...
132134
# The "get_langcode" method must also be implemented...
133135

0 commit comments

Comments
 (0)