Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: eab6626011
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (17 sloc) 0.41 kb
# -*- coding: utf-8 -*-
class DataDesc(object):
def __get__(self, obj, type):
print "datadesc", self, obj, type
def __set__(self, obj, val):
print "datadesc", self, obj, val
class Desc(object):
def __get__(self, obj, type):
print "desc", self, obj, type
class test(object):
dd = DataDesc()
d = Desc()
#__debugger__()
test.dd
test.d
test().dd
test().d
Jump to Line
Something went wrong with that request. Please try again.