Changeset 278 for trunk/console.py
- Timestamp:
- 07/28/09 06:58:46 (3 years ago)
- File:
-
- 1 edited
-
trunk/console.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/console.py
r277 r278 66 66 print_message('DEBUG: %s' % (" - ".join(str(item) for item in strings))) 67 67 68 def print_type(*strings): 69 """ 70 Print type wrapper. 71 72 @type *strings: anything 73 @param *strings: Anything 74 """ 75 76 print_message('DEBUG: %s' % (" - ".join(str(type(item)) for item in strings))) 77 78 def print_dir(*strings): 79 """ 80 Print dir wrapper. 81 82 @type *strings: anything 83 @param *strings: Anything 84 """ 85 86 print_message('DEBUG: %s' % (" - ".join(str(dir(item)) for item in strings))) 87 68 88 # Register them for global use 69 89 __builtin__.print_m = print_message … … 71 91 __builtin__.print_w = print_warning 72 92 __builtin__.print_d = print_debug 93 __builtin__.print_t = print_type 94 __builtin__.print_dir = print_dir 73 95 74 96 class BaseMessage:
Note: See TracChangeset
for help on using the changeset viewer.

