(oparg: SpecialMethod, vm: &VirtualMachine)
| 9646 | } |
| 9647 | |
| 9648 | fn get_special_method_name(oparg: SpecialMethod, vm: &VirtualMachine) -> &'static PyStrInterned { |
| 9649 | match oparg { |
| 9650 | SpecialMethod::Enter => identifier!(vm, __enter__), |
| 9651 | SpecialMethod::Exit => identifier!(vm, __exit__), |
| 9652 | SpecialMethod::AEnter => identifier!(vm, __aenter__), |
| 9653 | SpecialMethod::AExit => identifier!(vm, __aexit__), |
| 9654 | } |
| 9655 | } |
| 9656 | |
| 9657 | /// _Py_SpecialMethod _Py_SpecialMethods |
| 9658 | fn get_special_method_error_msg( |
no outgoing calls
no test coverage detected