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

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
list() -> new empty list
list(iterable) -> new list initialized from iterable's items

src/t/u/turses-0.2.22/tests/test_config.py   turses(Download)
path.append('../')
 
from turses.config import (
    CONFIG_PATH,
    DEFAULT_CONFIG_FILE,
    def test_palette(self):
        """Test that every color in the default `PALETTE` is valid."""
        for label in list(PALETTE):
            # ignore the label name
            for color in label[1:]:

src/t/u/turses-HEAD/tests/test_config.py   turses(Download)
path.append('../')
 
from turses.config import (
    CONFIG_PATH,
    DEFAULT_CONFIG_FILE,
    def test_palette(self):
        """Test that every color in the default `PALETTE` is valid."""
        for label in list(PALETTE):
            # ignore the label name
            for color in label[1:]: