Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/source/trait_types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ Numbers

An integer trait.

``Int`` accepts ``min`` and ``max`` keyword arguments to constrain values
to inclusive lower and upper bounds. Both default to ``None``. The
effective constructor options are ``Int(..., *, min=None, max=None)``.


.. class:: Integer

Expand All @@ -34,6 +38,11 @@ Numbers

.. autoclass:: Float

A float trait. ``Float`` accepts ``min`` and ``max`` keyword arguments to
constrain values to inclusive lower and upper bounds. They default to
``-inf`` and ``inf``, respectively. The effective constructor options are
``Float(..., *, min=-inf, max=inf)``.

.. autoclass:: Complex

.. class:: CInt
Expand Down
Loading