8000 Document how to use Module Move refactoring · python-mode/python-mode@b27b45e · GitHub
[go: up one dir, main page]

Skip to content

Commit b27b45e

Browse files
committed
Document how to use Module Move refactoring
1 parent 7cab7d4 commit b27b45e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/pymode.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,14 @@ module that must already by imported in the namespace of the original module,
632632
All references to the object being moved will be updated to point to the
633633
new location.
634634

635+
Moving module variable/class/function into a package
636+
637+
It happens when you perform move refactoring on a name referencing a module.
638+
In this refactoring, the module being refactored will be moved to a destination
639+
package that must already be imported into the namespace of the original
640+
module. All references to the object being moved will be updated to point
641+
to the new location.
642+
635643
>
636644
let g:pymode_rope_move_bind = '<C-c>rv'
637645

0 commit comments

Comments
 (0)
0