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

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

src/d/a/database-reports-HEAD/reports/enwiki/dubiousstubcats.py   database-reports(Download)
    def get_table_rows(self, conn):
        cursor = conn.cursor()
        for category in self.get_all_categories_beneath(cursor, 'Stub_categories'):
            if category != 'Stub_categories' and not category.endswith('_stubs'):
                yield [u'[[:Category:%s|%s]]' % (category, category)]

src/d/a/database-reports-HEAD/reports/enwiki/directstubs.py   database-reports(Download)
        # in wikitext or by another template.
        cursor = conn.cursor()
        for category in self.get_all_categories_beneath(cursor, 'Stub_categories'):
            cursor.execute('''
                           SELECT