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

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

src/t/h/thg-mac-2.1.4/tortoisehg/hgqt/shellconf.py   thg-mac(Download)
    def set_menulists(self, promoteditems):
        for list in (self.topmenulist, self.submenulist):
            list.clear()
            list.setSortingEnabled(True)
        promoted = [pi.strip() for pi in promoteditems.split(',')]

src/r/a/raspi_gtalk_robot-HEAD/PyGtalkRobot.py   raspi_gtalk_robot(Download)
    def initCommands(self):
        if self.commands:
            self.commands.clear()
        else:
            self.commands = list()

src/p/y/pydss-0.1a/pydss/common/ControlQueueImpl.py   pydss(Download)
    def __init__(self):
        super(ControlQueueImpl, self)()
        self.actionList = list()
        self.actionList.clear()
        self.ctrlHandle = 0

src/p/y/python-future-HEAD/future/tests/test_list.py   python-future(Download)
    def test_list_clear(self):
        l = list()
        l.append(1)
        l.clear()
        self.assertEqual(len(l), 0)
        l.extend([2, 3])
        l.clear()
        self.assertFalse(bool(l))
        self.assertTrue(bool(l2))
        l2.clear()
        self.assertFalse(bool(l2))
 

src/s/q/SQLAlchemy-0.9.4/test/orm/test_collection.py   SQLAlchemy(Download)
 
            direct.clear()
            control.clear()
            assert_eq()