Decorator to mark magic functions which need to local scope to run.
(func)
| 75 | |
| 76 | |
| 77 | def needs_local_scope(func): |
| 78 | """Decorator to mark magic functions which need to local scope to run.""" |
| 79 | func.needs_local_scope = True |
| 80 | return func |
| 81 | |
| 82 | #----------------------------------------------------------------------------- |
| 83 | # Class and method decorators for registering magics |
nothing calls this directly
no outgoing calls
no test coverage detected