Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(20) | Call(20) | Derive(0) | Import(0)
src/r/o/roundup-1.5.0/roundup/cgi/client.py roundup(Download)
headers.update(self.additional_headers) if headers.get('Content-Type', 'text/html') == 'text/html': headers['Content-Type'] = 'text/html; charset=utf-8'
src/p/r/Products.CMFDefault-2.3.0-beta2/Products/CMFDefault/upgrade/to23.py Products.CMFDefault(Download)
if prop_map['id'] in ('email', 'fullname', 'last_login_time', 'listed', 'login_time', 'portal_skin'): if 'd' in prop_map.get('mode', 'wd'): prop_map['mode'] = 'w' changed = True
src/h/t/HTPC-Manager-HEAD/libs/sqlobject/dbconnection.py HTPC-Manager(Download)
(soClass.__name__)) if isinstance(tableCreateSQLs, dict): tableCreateSQLs = tableCreateSQLs.get(soClass._connection.dbName, []) if isinstance(tableCreateSQLs, str): tableCreateSQLs = [tableCreateSQLs]
src/d/r/drf-toolbox-0.1.7/drf_toolbox/serializers/base.py drf-toolbox(Download)
opt_value = getattr(self.opts, option, ()) if isinstance(opt_value, dict): setattr(self.opts, option, opt_value.get('self', ())) self._rel_fields[option] = opt_value
src/d/r/drf-toolbox-HEAD/drf_toolbox/serializers/base.py drf-toolbox(Download)
opt_value = getattr(self.opts, option, ()) if isinstance(opt_value, dict): setattr(self.opts, option, opt_value.get('self', ())) self._rel_fields[option] = opt_value
src/e/n/encoded-HEAD/src/encoded/contentbase.py encoded(Download)
value = new_values else: value = value.get(name, None) if value is None: return ''
src/s/q/SQLObject-1.6.0b1dev-r4713/sqlobject/dbconnection.py SQLObject(Download)
(soClass.__name__)) if isinstance(tableCreateSQLs, dict): tableCreateSQLs = tableCreateSQLs.get(soClass._connection.dbName, []) if isinstance(tableCreateSQLs, str): tableCreateSQLs = [tableCreateSQLs]
src/l/a/lazyscripts-HEAD/lazyscripts/gui/gtklib.py lazyscripts(Download)
def on_category_changed(self, sel): list, it=sel.get_selected() tool=list.get(it, 2) old=self.right_pane.get_child() if old != None:
src/o/b/objectpath-0.2/objectpath/core/interpreter.py objectpath(Download)
try: if D: self.end(". returning '%s'",fst.get(snd)) return fst.get(snd) except: if isinstance(fst,object):
src/o/b/ObjectPath-HEAD/ObjectPathPy/core/interpreter.py ObjectPath(Download)
try: if D: self.end(". returning '%s'",fst.get(snd)) return fst.get(snd) except: if isinstance(fst,object):
1 | 2 Next