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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheck(int nargs, int minargs, int maxargs) intintgetName()unexpectedCall(int nargs, boolean keywords) static PyExceptionunexpectedCall(int nargs, boolean keywords, String name, int minargs, int maxargs)
-
Constructor Details
-
DefaultInfo
-
DefaultInfo
-
-
Method Details
-
getName
- Specified by:
getNamein interfacePyBuiltinCallable.Info
-
getMaxargs
public int getMaxargs()- Specified by:
getMaxargsin interfacePyBuiltinCallable.Info
-
getMinargs
public int getMinargs()- Specified by:
getMinargsin 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:
unexpectedCallin interfacePyBuiltinCallable.Info
-