diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-10-28 12:45:49 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-10-28 12:45:49 +0100 |
commit | 746a0fc516881c87d341890cea8b2f322dbfea8a (patch) | |
tree | 44dffe8152ec6df62d9b825ede2f9c8f01c5fd91 /qutebrowser/api | |
parent | d6043a18026c3b9792228bcb2da274378c0d10c0 (diff) | |
download | qutebrowser-746a0fc516881c87d341890cea8b2f322dbfea8a.tar.gz qutebrowser-746a0fc516881c87d341890cea8b2f322dbfea8a.zip |
Be explicit about typing in docs
Diffstat (limited to 'qutebrowser/api')
-rw-r--r-- | qutebrowser/api/cmdutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/api/cmdutils.py b/qutebrowser/api/cmdutils.py index 7f0be1afd..d0d69a04c 100644 --- a/qutebrowser/api/cmdutils.py +++ b/qutebrowser/api/cmdutils.py @@ -44,7 +44,7 @@ Possible values: - A callable (``int``, ``float``, etc.): Gets called to validate/convert the value. - A python enum type: All members of the enum are possible values. -- A ``Union`` of multiple types above: Any of these types are valid +- A ``typing.Union`` of multiple types above: Any of these types are valid values, e.g., ``Union[str, int]``. """ |