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/s/t/starcheat-HEAD/starcheat/gui/common.py   starcheat(Download)
    def __init__(self, item, assets=None):
        if item is None or assets is None or "name" not in item:
            # empty slot
            self.item = None
            QTableWidgetItem.__init__(self)
            return
 
        self.item = item
        QTableWidgetItem.__init__(self, self.item["name"])