[docs] [issue36769] doc Document that fnmatch.filter supports any kind of iterable not just lists

Andrés Delfino report at bugs.python.org
Wed May 1 10:12:45 EDT 2019


New submission from Andrés Delfino <adelfino at gmail.com>:

Documentation on fnmatch.filter says:

Return the subset of the list of names that match pattern. It is the same as [n for n in names if fnmatch(n, pattern)], but implemented more efficiently.

But the function actual accepts any kind of iterable. I think it should be documented.

----------
assignee: docs at python
components: Documentation
messages: 341198
nosy: adelfino, docs at python
priority: normal
severity: normal
status: open
title: doc Document that fnmatch.filter supports any kind of iterable not just lists
type: enhancement
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36769>
_______________________________________


More information about the docs mailing list