Python: mark definition of type ascription as SPURIOUS

This commit is contained in:
yoff
2026-07-23 18:52:24 +02:00
parent 2c0ed98cb2
commit aa305c20b1

View File

@@ -8,7 +8,7 @@ def func[T](x: T) -> T: # $ cfgdefines=func cfgdefines=x
class Box[T]: # $ cfgdefines=Box
item: T # $ cfgdefines=item
item: T # $ SPURIOUS: cfgdefines=item
# Multi-parameter, with bound and variadics.