Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)

src/p/y/PySide-1.2.2/sources/shiboken/tests/samplebinding/implicitconv_numerical_test.py   PySide(Download)
import sys
import sample
from py3kcompat import IS_PY3K, l, long
 
if IS_PY3K:

src/s/h/Shiboken-1.2.2/sources/shiboken/tests/samplebinding/implicitconv_numerical_test.py   Shiboken(Download)
import sys
import sample
from py3kcompat import IS_PY3K, l, long
 
if IS_PY3K:

src/p/y/PySide-1.2.2/sources/pyside/tests/QtCore/qbytearray_test.py   PySide(Download)
    def testSetNum(self):
        b = QByteArray()
        b.setNum(py3k.long(-124124))
        self.assertEqual(b, "-124124")
        b = QByteArray()