Package org.python.core
Class PyBuiltinCallable.DefaultInfo
java.lang.Object
org.python.core.PyBuiltinCallable.DefaultInfo
- All Implemented Interfaces:
Serializable
,PyBuiltinCallable.Info
- Enclosing class:
- PyBuiltinCallable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
check
(int nargs, int minargs, int maxargs) int
int
getName()
unexpectedCall
(int nargs, boolean keywords) static PyException
unexpectedCall
(int nargs, boolean keywords, String name, int minargs, int maxargs)
-
Constructor Details
-
DefaultInfo
-
DefaultInfo
-
-
Method Details
-
getName
- Specified by:
getName
in interfacePyBuiltinCallable.Info
-
getMaxargs
public int getMaxargs()- Specified by:
getMaxargs
in interfacePyBuiltinCallable.Info
-
getMinargs
public int getMinargs()- Specified by:
getMinargs
in interfacePyBuiltinCallable.Info
-
check
public static boolean check(int nargs, int minargs, int maxargs) -
unexpectedCall
public static PyException unexpectedCall(int nargs, boolean keywords, String name, int minargs, int maxargs) -
unexpectedCall
- Specified by:
unexpectedCall
in interfacePyBuiltinCallable.Info
-