MCPcopy Create free account
hub / github.com/ActiveState/code / __add

Function __add

recipes/Python/281056_Listparse/recipe-281056.py:118–122  ·  view source on GitHub ↗

Shorthand for adding a character....

(thiselement, char)

Source from the content-addressed store, hash-verified

116 return outlist, inline
117
118def __add(thiselement, char):
119 """Shorthand for adding a character...."""
120 if thiselement == None:
121 return char
122 return thiselement + char
123
124def unquote(inline, fullquote = 1, retain = 0, **keywargs):
125 """Given a line - if it's correctly quoted - it reurns the 'unquoted' value.

Callers 1

listparseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected