openzim / python-libzim

Libzim binding for Python: read/write ZIM files in Python
https://pypi.org/project/libzim/
GNU General Public License v3.0
62 stars 20 forks source link

rename get_namespaces_count #48

Closed rgaudin closed 4 years ago

rgaudin commented 4 years ago

File.get_namespaces_count has the following signature:

def get_namespaces_count(self, str ns) -> int:

It returns a single int representing the number of articles in the namespace ns.

I suggest we rename it to get_namespace_count() (singular).