1 parent 027de25 commit 0d021a3Copy full SHA for 0d021a3
2 files changed
test_importutils/test_importutils.py
test_property/test_len.py
@@ -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