Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/IPython/utils/tests/test_traitlets.py   antisocial(Download)
            def validate(self, obj, value):
                if isinstance(value, int):
                    return value
                self.error(obj, value)
        class A(HasTraits):

src/i/p/ipython-2.0.0/IPython/utils/tests/test_traitlets.py   ipython(Download)
            def validate(self, obj, value):
                if isinstance(value, int):
                    return value
                self.error(obj, value)
        class A(HasTraits):

src/i/p/ipython-HEAD/IPython/utils/tests/test_traitlets.py   ipython(Download)
            def validate(self, obj, value):
                if isinstance(value, int):
                    return value
                self.error(obj, value)
        class A(HasTraits):

src/i/p/ipython-py3k-HEAD/IPython/utils/tests/test_traitlets.py   ipython-py3k(Download)
            def validate(self, obj, value):
                if isinstance(value, int):
                    return value
                self.error(obj, value)
        class A(HasTraits):