Skip to content

Commit 61a6b33

Browse files
committed
updated readme
1 parent 9ef958c commit 61a6b33

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,15 @@ Examples:
108108

109109
```python
110110
>>> from functools import partial
111-
>>> from verbecc import Conjugator, grammar_defines, LangCodeISO639_1 as Lang
111+
>>> from verbecc import Conjugator, LangCodeISO639_1 as Lang, grammar_defines
112+
>>> from verbecc import LangSpecificOptionsEs, VoseoOptions
112113
>>> conjugators = {lang : Conjugator(lang) for lang in grammar_defines.SUPPORTED_LANGUAGES}
113114
>>> conj_fr = conjugators[Lang.fr].conjugate
115+
>>> conj_it = conjugators[Lang.it].conjugate
114116
>>> conj_pt = conjugators[Lang.pt].conjugate
115117
>>> conj_ro = conjugators[Lang.ro].conjugate
116118
>>> conj_ca = conjugators[Lang.ca].conjugate
117119
>>> conj_es = conjugators[Lang.es].conjugate
118-
>>> conj_es = conjugators[Lang.es].conjugate
119120
>>> conj_es_voseo = partial(conj_es, lang_specific_options=LangSpecificOptionsEs(VoseoOptions.VoseoTipo3))
120121

121122
>>> conj_fr('etre')['moods']['indicatif']['présent']

0 commit comments

Comments
 (0)