Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fnmatch module parameters names are not correct #94220

Open
salahbsmdz opened this issue Jun 24, 2022 · 0 comments
Open

fnmatch module parameters names are not correct #94220

salahbsmdz opened this issue Jun 24, 2022 · 0 comments
Labels
docs

Comments

@salahbsmdz
Copy link

@salahbsmdz salahbsmdz commented Jun 24, 2022

Documentation

fnmatch module parameters names are not correct

>>> import fnmatch
>>> fnmatch.fnmatch(filename='file.txt', pattern='*.txt')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: fnmatch() got an unexpected keyword argument 'filename'
@salahbsmdz salahbsmdz added the docs label Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs
Projects
None yet
Development

No branches or pull requests

1 participant