On 16/11/23 02:43, John Snow wrote:
We already take care to perform some type narrowing for arg_type and
ret_type, but not in a way where mypy can utilize the result. A simple
change to use a temporary variable helps the medicine go down.

Signed-off-by: John Snow <js...@redhat.com>
---
  scripts/qapi/schema.py | 17 +++++++++--------
  1 file changed, 9 insertions(+), 8 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to