Closed nelimee closed 4 weeks ago
The method below
https://github.com/quantumlib/Stim/blob/985d6a7042229827473d620d539119e3dbe0946e/glue/python/src/stim/__init__.pyi#L2840-L2861
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).
"REPEAT"
object
str
The method below
https://github.com/quantumlib/Stim/blob/985d6a7042229827473d620d539119e3dbe0946e/glue/python/src/stim/__init__.pyi#L2840-L2861
is guaranteed to return
"REPEAT"
per the docstring. Nevertheless, its annotated return type isobject
, that is not invalid per-se but is not as precise as it should be (i.e.,str
).