C# Class Python.Runtime.PyNumber

Represents a generic Python number. The methods of this class are equivalent to the Python "abstract number API". See http://www.python.org/doc/current/api/number.html for details.
Inheritance: PyObject
Afficher le fichier Open project: fkarb/pythonnet

Méthodes publiques

Méthode Description
IsNumberType ( PyObject value ) : bool

IsNumberType Method

Returns true if the given object is a Python numeric type.

Méthodes protégées

Méthode Description
PyNumber ( ) : System
PyNumber ( IntPtr ptr ) : System

Method Details

IsNumberType() public static méthode

IsNumberType Method
Returns true if the given object is a Python numeric type.
public static IsNumberType ( PyObject value ) : bool
value PyObject
Résultat bool

PyNumber() protected méthode

protected PyNumber ( ) : System
Résultat System

PyNumber() protected méthode

protected PyNumber ( IntPtr ptr ) : System
ptr System.IntPtr
Résultat System