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

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

        def enum_to_list(enum):
    regex = "\'([^\']*)\'[\,\)]"
    watch_list = re.findall(regex, enum)
    return(watch_list)
        


src/a/r/archivedb-0.2.3/archivedb/sql.py   archivedb(Download)
import logging
import archivedb.config as config
from archivedb.common import enum_to_list, list_to_enum, split_path
 
#### DEPRECATED ################################################################
        enum_line = self.c.fetchall()[field_index][1]
 
        watch_list = enum_to_list(enum_line)
        return(watch_list)