Find the real name of the magic.
(magic_func)
| 199 | |
| 200 | |
| 201 | def real_name(magic_func): |
| 202 | """ Find the real name of the magic. |
| 203 | """ |
| 204 | magic_name = magic_func.__name__ |
| 205 | if magic_name.startswith('magic_'): |
| 206 | magic_name = magic_name[len('magic_'):] |
| 207 | return getattr(magic_func, 'argcmd_name', magic_name) |
| 208 | |
| 209 | |
| 210 | class ArgDecorator: |
no outgoing calls
searching dependent graphs…