My favorites
▼
|
Sign in
pdbe
Python debugger with watchlist support
Project Home
Wiki
Issues
Source
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
2
attachment: test3.py
(430 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class klass:
def __init__ (self):
self.var_int = 1
self.var_list = []
def do_nothing (self):
pass
def __repr__ (self):
return "Integert: %d\n List: %s"% (self.var_int, str (self.var_list))
def change_int (self):
self.var_int += 1
def change_list (self):
self.var_list.append (1)
obj = klass ()
obj.change_int ()
obj.do_nothing
obj.change_list ()
print obj
Powered by
Google Project Hosting