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

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

src/x/o/xotl.ql-0.2.1dev/tests/test_this.py   xotl.ql(Download)
    def test_calling_functions(self):
        from xotl.ql.expressions import call
        expression = this.startswith('manu')
        self.assertIsInstance(expression, ExpressionTree)
        self.assertEqual("call(this.startswith, manu)",
                         str(expression))
        equiv_expr = call(this.startswith, 'manu')