You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running the example code on the pypi page, but there were multiple errors. Aside from undefined variables, I found
p.gender('f') raises BadGenderError since 'f' isn't in singular_pronoun_genders
Something like print("There" + p.plural_verb("was", errors) + p.no(" error", errors)) prints There[3 SPACES]were[2 SPACES]6[1 SPACE]errors. There's too much whitespace. This happens for many of the functions
run/running or run/runner fail all 4 of the compare checks. Not sure if function is broken or that's just a missing case.
join() function can't be found at runtime (When installed via pip3) even though I can see it in the downloaded source code from the pypi website.
The text was updated successfully, but these errors were encountered:
Thanks for the report, and I'm happy to accept a pull request to repair the issue(s).
Ideally, the docs would be implemented as executable docstrings, such that they're validated as part of the test suite, but it's not obvious to me where those examples should go (as top-level inflect module doc, maybe?). That would be a stretch goal. Just getting the docs to work as advertised is probably sufficient.
Any help you can provide would be appreciated. Thanks!
I tried running the example code on the pypi page, but there were multiple errors. Aside from undefined variables, I found
p.gender('f')
raises BadGenderError since 'f' isn't insingular_pronoun_genders
print("There" + p.plural_verb("was", errors) + p.no(" error", errors))
printsThere[3 SPACES]were[2 SPACES]6[1 SPACE]errors
. There's too much whitespace. This happens for many of the functionsjoin() function can't be found at runtime (When installed via pip3) even though I can see it in the downloaded source code from the pypi website.The text was updated successfully, but these errors were encountered: