File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 15
15
import python
16
16
import Expressions.CallArgs
17
17
18
- from FunctionObject base , PyFunctionObject derived
18
+ from FunctionValue base , PythonFunctionValue derived
19
19
where
20
20
not exists ( base .getACall ( ) ) and
21
- not exists ( FunctionObject a_derived |
21
+ not exists ( FunctionValue a_derived |
22
22
a_derived .overrides ( base ) and
23
23
exists ( a_derived .getACall ( ) )
24
24
) and
25
- not derived .getFunction ( ) .isSpecialMethod ( ) and
25
+ not derived .getScope ( ) .isSpecialMethod ( ) and
26
26
derived .getName ( ) != "__init__" and
27
27
derived .isNormalMethod ( ) and
28
- not derived .getFunction ( ) .isSpecialMethod ( ) and
28
+ not derived .getScope ( ) .isSpecialMethod ( ) and
29
29
// call to overrides distributed for efficiency
30
30
(
31
31
( derived .overrides ( base ) and derived .minParameters ( ) > base .maxParameters ( ) )
You can’t perform that action at this time.
0 commit comments