File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -77,29 +77,3 @@ def wrapper(*arguments):
7777 raise TypeError ('"' + str (arg ) + '" is not a tuple!' )
7878 return func (cls ,arguments [0 ])
7979 return wrapper
80-
81- class TestAcceptsClass (object ):
82-
83- @accepts .boolean
84- def _boolean (self ,_boolean_ ):
85- print ('boolean => ' + str (_boolean_ ))
86-
87- @accepts .integer
88- def _integer (self ,_integer_ ):
89- print ('integer => ' + str (_integer_ ))
90-
91- @accepts .string
92- def _string (self ,_string_ ):
93- print ('string => ' + str (_string_ ))
94-
95- @accepts .dictionary
96- def _dictionary (self ,_dictionary_ ):
97- print ('dictionary => ' + str (_dictionary_ ))
98-
99- @accepts .list
100- def _list (self ,_list_ ):
101- print ('list => ' + str ( _list_ ))
102-
103- @accepts .tuple
104- def _tuple (self ,_tuple_ ):
105- print ('tuple => ' + str (_tuple_ ))
You can’t perform that action at this time.
0 commit comments