Class BuiltinFunctionObject
Import path
import pythonDirect supertypes
Indirect supertypes
Predicates
| descriptiveString | Gets a longer, more descriptive version of toString() |
| getARaisedType | Gets a class that may be raised by this function |
| getAReturnType | |
| getName | Gets the name of this function |
| getQualifiedName | Gets the qualified name for this function object. Should return the same name as the |
| maxParameters | Gets the maximum number of parameters that can be correctly passed to this function |
| minParameters | Gets the minimum number of parameters that can be correctly passed to this function |
| raisesUnknownType | Whether this function raises an exception, the class of which cannot be inferred |
| toString | Gets a textual representation of this element. |
Inherited predicates
| asBuiltin | INTERNAL – Do not use | from Object |
| booleanValue | Gets the Boolean value of this object if it always evaluates to true or false. For example: false for None, true for 7 and no result for int(x) | from Object |
| getACall | Gets a call-site from where this function is called | from FunctionObject |
| getACall | Gets a call-site from where this function is called, given the | from FunctionObject |
| getACallee | Gets a function that this function (directly) calls | from FunctionObject |
| getAFunctionCall | Gets a call-site from where this function is called as a function | from FunctionObject |
| getAMethodCall | Gets a call-site from where this function is called as a method | from FunctionObject |
| getAnInferredReturnType | Gets a class that this function may return | from FunctionObject |
| getAnInferredType | Gets an inferred type for this object, without using inter-procedural analysis. WARNING: The lack of context makes this less accurate than f.refersTo(this, result, _) for a control flow node ‘f’ | from Object |
| getArgumentForCall | Gets the | from BuiltinCallable |
| getFunction | from FunctionObject | |
| getNamedArgumentForCall | Gets the | from FunctionObject |
| getOrigin | Gets the point in the source code from which this object “originates”. | from Object |
| hasLocationInfo | Holds if this element is at the specified location. The location spans column | from Object |
| hasLongName | Holds if this object can be referred to by | from Object |
| isAbstract | from FunctionObject | |
| isBuiltin | Whether this is a builtin object. A builtin object is one defined by the implementation, such as the integer 4 or by a native extension, such as a NumPy array class. | from Object |
| isC | Retained for backwards compatibility. See Object.isBuiltin() | from Object |
| isLegalArgumentName | Whether | from FunctionObject |
| isNormalMethod | Whether this is a “normal” method, that is, it is exists as a class attribute which is not wrapped and not the new method. | from FunctionObject |
| isOverriddenMethod | from FunctionObject | |
| isOverridingMethod | from FunctionObject | |
| isProcedure | This function always returns None, meaning that its return value should be disregarded | from BuiltinCallable |
| maybe | from Object | |
| neverReturns | Whether this function never returns. This is an approximation. | from FunctionObject |
| notClass | from Object | |
| overrides | Whether this overrides o. In this context, “overrides” means that this object is a named attribute of a some class C and | from Object |
| simpleClass | Gets the class of this object for simple cases, namely constants, functions, comprehensions and built-in objects. | from Object |
| theCallable | from FunctionObject |