<div dir="ltr">(For future reference, when responding to answers, it's worthwhile to continue to cc python-list.)<div><br>On Thu, Oct 9, 2014 at 11:12 AM, Marcos Schratzenstaller <<a href="mailto:marksabbath@gmail.com">marksabbath@gmail.com</a>> wrote:<br>> The numpy has a function which manipulate 64 bits integers, but I couldn't<br>> find a specific method to multiplicate this kind of objects can not be<br>> manipulated as the same way, so if python is using the correct function<br>> (assuning python is detecting the object, calling the correct function) it<br>> is not a problem, but, where can I find this deep information?<br><br>Marcos,<br><br>Yes, the builtin help() function serves as reasonable documentation in this case:<br><br><font face="courier new, monospace">>>> help(numpy.int64)<br>Help on class int64 in module numpy:<br><br>class int64(signedinteger, __builtin__.int)<br> |  64-bit integer. Character code 'l'. Python int compatible.<br> |  <br> |  Method resolution order:<br> |      int64<br> |      signedinteger<br> |      integer<br> |      number<br> |      generic<br> |      __builtin__.int<br> |      __builtin__.object<br> |  <br> |  Methods defined here:<br>...<br> |  Methods inherited from generic:<br> |  <br> |  __abs__(...)<br> |      x.__abs__() <==> abs(x)<br> |  <br> |  __add__(...)<br> |      x.__add__(y) <==> x+y<br>...<br> |  __mod__(...)<br> |      x.__mod__(y) <==> x%y<br> |  <br> |  __mul__(...)<br> |      x.__mul__(y) <==> x*y<br></font><div><font face="courier new, monospace">...</font></div><div><br></div><div>The __mul__ method implements multiplication. I don't know the specific implementation in numpy, but it's probably little more than a thin wrapper around x * y (with perhaps some type and overflow checking).</div><div><br></div><div>Skip</div><div><br></div></div></div>