Skip to content

Commit

Permalink
Comments on reload.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Jan 18, 2014
1 parent 17803f0 commit e42957e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/org.python.pydev/pysrc/pydevd_reload.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
Classes/modules can be specially crafted to work with the reload (so that it can, for instance,
update some constant which was changed).
1. To participate in the change of some attribute:
In a module:
Expand Down Expand Up @@ -57,6 +56,11 @@
A class or module may include a method called '__xreload_after_reload_update__' which is called
after the reload finishes.
Important: when providing a hook, always use the namespace or cls provided and not anything in the global
namespace, as the global namespace are only temporarily created during the reload and may not reflect the
actual application state (while the cls and namespace passed are).
Current limitations
Expand Down

0 comments on commit e42957e

Please sign in to comment.