Fix positional options (#17) and associated tests.

This commit is contained in:
Romain Dorgueil
2017-05-01 15:52:34 +02:00
parent 5b29b5fe95
commit ffa9ab6bc8
5 changed files with 25 additions and 30 deletions

View File

@ -24,6 +24,7 @@ class ValueHolder:
For the sake of concistency, all operator methods have been implemented (see https://docs.python.org/3/reference/datamodel.html) or
at least all in a certain category, but it feels like a more correct method should exist, like with a getattr-something on the
value. Let's see later.
"""
def __init__(self, value, *, type=None):