basically working descriptors!
This commit is contained in:
1 parent
d88283b879
commit
4332495a11
2 files changed
+21
-16
No files matched your search
@@ -187,10 +187,10 @@ class B():
|
||||
def r(self, value):
|
||||
pass
|
||||
|
||||
#? []
|
||||
B().r.
|
||||
#? []
|
||||
B().r()
|
||||
#? int()
|
||||
B().r
|
||||
|
||||
class Decorator(object):
|
||||
def __init__(self, func):
|
||||
|
||||
Reference in new issue
Block a user