MCPcopy Create free account
hub / github.com/astral-sh/ruff / except_handler

Method except_handler

crates/ruff_python_ast/src/generated.rs:2873–2877  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2871
2872 #[inline]
2873 pub fn except_handler(self) -> Option<crate::ExceptHandlerExceptHandler> {
2874 match self {
2875 Self::ExceptHandler(val) => Some(val),
2876 }
2877 }
2878
2879 #[inline]
2880 pub fn expect_except_handler(self) -> crate::ExceptHandlerExceptHandler {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected