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

Method expect_except_handler

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

Source from the content-addressed store, hash-verified

2878
2879 #[inline]
2880 pub fn expect_except_handler(self) -> crate::ExceptHandlerExceptHandler {
2881 match self {
2882 Self::ExceptHandler(val) => val,
2883 }
2884 }
2885
2886 #[inline]
2887 pub fn as_except_handler_mut(&mut self) -> Option<&mut crate::ExceptHandlerExceptHandler> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected