twisted.internet.endpoints._parse(description)
function documentationtwisted.internet.endpoints
View Source
Convert a description string into a list of positional and keyword parameters, using logic vaguely like what Python does.
Parameters | description | a string as described by serverFromString or clientFromString . |
Returns | a 2-tuple of (args, kwargs) , where 'args' is a list of all ':'-separated str s not containing an '=' and 'kwargs' is a map of all str s which do contain an '='. For example, the result of _parse('a:b:d=1:c') would be (['a', 'b', 'c'], {'d': '1'}) . |
Function | add | Undocumented |