]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
catalog.rst: Add __iter__ to Catalog documentation
authorCyanNani123 <f.st@live.de>
Mon, 13 Jan 2020 22:13:01 +0000 (23:13 +0100)
committerAarni Koskela <akx@iki.fi>
Tue, 28 Jan 2020 06:42:40 +0000 (08:42 +0200)
The declaration of __iter__ under the special-members
directive makes it visible in the documentation.
The docstring describing __iter__ already exists.

Closes https://github.com/python-babel/babel/issues/128

docs/api/messages/catalog.rst

index 8a905bcd9d7bcd13d006b6b2b8719975811f93b8..8cb6375e350e71c7fe896925597d7afa8813717a 100644 (file)
@@ -12,6 +12,7 @@ Catalogs
 
 .. autoclass:: Catalog
    :members:
+   :special-members: __iter__
 
 Messages
 --------