MCPcopy Create free account
hub / github.com/sqlmapproject/sqlmap / makelist

Function makelist

thirdparty/bottle/bottle.py:181–187  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

179
180
181def makelist(data): # This is just too handy
182 if isinstance(data, (tuple, list, set, dict)):
183 return list(data)
184 elif data:
185 return [data]
186 else:
187 return []
188
189
190class DictProperty(object):

Callers 4

getargspecFunction · 0.70
routeMethod · 0.70
decoratorMethod · 0.70
__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…