Skip to content

Commit 223f430

Browse files
committed
small rename
1 parent 9dffece commit 223f430

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyconlang/book/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
class Compiler:
2828
converter: Markdown
29-
lexicon: Conlang
29+
conlang: Conlang
3030

3131
@classmethod
3232
@contextmanager
@@ -35,7 +35,7 @@ def new(cls) -> Generator[Self, None, None]:
3535
yield cls(translator)
3636

3737
def __init__(self, translator: Translator) -> None:
38-
self.lexicon = Conlang(translator)
38+
self.conlang = Conlang(translator)
3939
self.converter = Markdown(
4040
extensions=[
4141
"extra",
@@ -55,8 +55,8 @@ def __init__(self, translator: Translator) -> None:
5555
MultiExtension(""),
5656
SpanTable(),
5757
AnyTableHeader(),
58-
self.lexicon,
5958
UnicodeEscape(),
59+
self.conlang,
6060
],
6161
extension_configs={
6262
"mdx_include": {

0 commit comments

Comments
 (0)