Skip to content

Commit 0d021a3

Browse files
committed
add moulde
1 parent 027de25 commit 0d021a3

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

test_importutils/test_importutils.py

Whitespace-only changes.

test_property/test_len.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env python
2+
# coding=utf-8
3+
class test(object):
4+
@property
5+
def ret(self):
6+
return [1,2,3,4]
7+
8+
def length(self):
9+
return len(self.ret)
10+
11+
print test().length()

0 commit comments

Comments
 (0)