added to doc strings about watch

This commit is contained in:
Dave Schuyler 2006-01-17 19:44:48 +00:00
parent 01a2a7c13c
commit 22f3e05a42
1 changed files with 16 additions and 0 deletions

View File

@ -266,6 +266,10 @@ class Messenger:
"""
return a matching event (needle) if found (in haystack).
This is primarily a debugging tool.
This is intended for debugging use only.
This function is not defined if python is ran with -O (optimize).
See Also: unwatch
"""
if not self.watching.get(needle):
@ -276,6 +280,10 @@ class Messenger:
"""
return a matching event (needle) if found (in haystack).
This is primarily a debugging tool.
This is intended for debugging use only.
This function is not defined if python is ran with -O (optimize).
See Also: watch
"""
if self.watching.get(needle):
@ -287,6 +295,10 @@ class Messenger:
When verbose mode is on, don't spam the output with messages
marked as quiet.
This is primarily a debugging tool.
This is intended for debugging use only.
This function is not defined if python is ran with -O (optimize).
See Also: unquiet
"""
if not self.quieting.get(message):
@ -297,6 +309,10 @@ class Messenger:
Remove a message from the list of messages that are not reported
in verbose mode.
This is primarily a debugging tool.
This is intended for debugging use only.
This function is not defined if python is ran with -O (optimize).
See Also: quiet
"""
if self.quieting.get(message):