Small typing issue in the Python method `CircuitRepeatBlock.name`
Closed this issue · 0 comments
nelimee commented
The method below
Stim/glue/python/src/stim/__init__.pyi
Lines 2840 to 2861 in 985d6a7
is guaranteed to return "REPEAT"
per the docstring. Nevertheless, its annotated return type is object
, that is not invalid per-se but is not as precise as it should be (i.e., str
).