]> git.notmuchmail.org Git - notmuch/commitdiff
python: fix threads.__str__ automethod documentation
authorJani Nikula <jani@nikula.org>
Mon, 11 Feb 2019 18:22:37 +0000 (20:22 +0200)
committerDavid Bremner <david@tethera.net>
Sat, 16 Feb 2019 13:03:56 +0000 (09:03 -0400)
Indent the directive properly to attach it to Threads autoclass
documentation.

Fixes:

WARNING: don't know which module to import for autodocumenting
'__str__' (try placing a "module" or "currentmodule" directive in the
document, or giving an explicit module name)

bindings/python/docs/source/threads.rst

index 4324ac82a389611d8a633c65f015dabb7c4d4aa0..46ce5be5412a5ed3430000e1a6fdc06bdf6eab2a 100644 (file)
@@ -11,4 +11,4 @@
       iterator and broke list(Threads()). Use `len(list(msgs))`
       instead.
 
-.. automethod:: __str__
+   .. automethod:: __str__