MCPcopy Index your code
hub / github.com/python/mypy / can_raise

Method can_raise

mypyc/ir/ops.py:288–291  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

286 self.line = line
287
288 def can_raise(self) -> bool:
289 # Override this is if Op may raise an exception. Note that currently the fact that
290 # only RegisterOps may raise an exception in hard coded in some places.
291 return False
292
293 @abstractmethod
294 def sources(self) -> list[Value]:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected