Remove item from six.moves.
(name)
| 518 | |
| 519 | |
| 520 | def remove_move(name): |
| 521 | """Remove item from six.moves.""" |
| 522 | try: |
| 523 | delattr(_MovedItems, name) |
| 524 | except AttributeError: |
| 525 | try: |
| 526 | del moves.__dict__[name] |
| 527 | except KeyError: |
| 528 | raise AttributeError("no such move, %r" % (name,)) |
| 529 | |
| 530 | |
| 531 | if PY3: |
nothing calls this directly
no outgoing calls
no test coverage detected