org.python.core
Class PyBuiltinCallable.DefaultInfo
java.lang.Object
org.python.core.PyBuiltinCallable.DefaultInfo
- All Implemented Interfaces:
- PyBuiltinCallable.Info
- Enclosing class:
- PyBuiltinCallable
public static class PyBuiltinCallable.DefaultInfo
- extends java.lang.Object
- implements PyBuiltinCallable.Info
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PyBuiltinCallable.DefaultInfo
public PyBuiltinCallable.DefaultInfo(java.lang.String name,
int minargs,
int maxargs)
PyBuiltinCallable.DefaultInfo
public PyBuiltinCallable.DefaultInfo(java.lang.String name)
getName
public java.lang.String getName()
- Specified by:
getName
in interface PyBuiltinCallable.Info
getMaxargs
public int getMaxargs()
- Specified by:
getMaxargs
in interface PyBuiltinCallable.Info
getMinargs
public int getMinargs()
- Specified by:
getMinargs
in interface PyBuiltinCallable.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 PyBuiltinCallable.Info
Jython homepage