30 lines
805 B
Diff
30 lines
805 B
Diff
|
|
From 0cfa69e087a24364ba788ff9d862949b65f0ff12 Mon Sep 17 00:00:00 2001
|
||
|
|
From: CyanNani123 <f.st@live.de>
|
||
|
|
Date: Mon, 13 Jan 2020 23:13:01 +0100
|
||
|
|
Subject: [PATCH] catalog.rst: Add __iter__ to Catalog documentation
|
||
|
|
|
||
|
|
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 | 1 +
|
||
|
|
1 file changed, 1 insertion(+)
|
||
|
|
|
||
|
|
diff --git a/docs/api/messages/catalog.rst b/docs/api/messages/catalog.rst
|
||
|
|
index 8a905bc..8cb6375 100644
|
||
|
|
--- a/docs/api/messages/catalog.rst
|
||
|
|
+++ b/docs/api/messages/catalog.rst
|
||
|
|
@@ -12,6 +12,7 @@ Catalogs
|
||
|
|
|
||
|
|
.. autoclass:: Catalog
|
||
|
|
:members:
|
||
|
|
+ :special-members: __iter__
|
||
|
|
|
||
|
|
Messages
|
||
|
|
--------
|
||
|
|
--
|
||
|
|
1.8.3.1
|
||
|
|
|