org.python.core
Class PyBuiltinFunction.DefaultInfo
java.lang.Object
org.python.core.PyBuiltinFunction.DefaultInfo
- All Implemented Interfaces:
- PyBuiltinFunction.Info
- Enclosing class:
- PyBuiltinFunction
- public static class PyBuiltinFunction.DefaultInfo
- extends java.lang.Object
- implements PyBuiltinFunction.Info
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PyBuiltinFunction.DefaultInfo
public PyBuiltinFunction.DefaultInfo(java.lang.String name,
int minargs,
int maxargs)
PyBuiltinFunction.DefaultInfo
public PyBuiltinFunction.DefaultInfo(java.lang.String name,
int nargs)
getName
public java.lang.String getName()
- Specified by:
getName
in interface PyBuiltinFunction.Info
getMaxargs
public int getMaxargs()
- Specified by:
getMaxargs
in interface PyBuiltinFunction.Info
getMinargs
public int getMinargs()
- Specified by:
getMinargs
in interface PyBuiltinFunction.Info
check
public static boolean check(int nargs,
int minargs,
int maxargs)
unexpectedCall
public static PyException unexpectedCall(int nargs,
boolean keywords,
java.lang.String name,
int minargs,
int maxargs)
unexpectedCall
public PyException unexpectedCall(int nargs,
boolean keywords)
- Specified by:
unexpectedCall
in interface PyBuiltinFunction.Info
Jython homepage