On Tue, Sep 7, 2021 at 4:28 AM Markus Armbruster wrote:
> John Snow writes:
>
> > It simplifies the typing to say that _section is always a
> > QAPIDoc.Section().
>
> If you say so
>
>
I mean, I thought so at the time. I have an aversion to making optional
types and then littering isinstance
John Snow writes:
> It simplifies the typing to say that _section is always a
> QAPIDoc.Section().
If you say so
> To accommodate this change, we must allow for this object to evaluate to
> False for functions like _end_section which behave differently based on
> whether or not a Section ha
It simplifies the typing to say that _section is always a
QAPIDoc.Section().
To accommodate this change, we must allow for this object to evaluate to
False for functions like _end_section which behave differently based on
whether or not a Section has been started.
Signed-off-by: John Snow
---