File: nohelp.rst

package info (click to toggle)
python-autodoc-traits 1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 212 kB
  • sloc: python: 408; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 442 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
autotrait - no help
===================

Test that we fall back to present the trait's header even if it lacks a ``help``
string.

.. note::

   This may include the missing help string message
   if built together with autoconfigurable,
   which patches config=True traits to have a truthy help string.
   This is unrealistic in real docs, but also fairly harmless.

.. autotrait:: sample_module.SampleConfigurable.trait_nohelp
   :noindex: