MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / remove_invalid_chars

Method remove_invalid_chars

pycompletionserver.py:122–134  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

120 return
121
122 def remove_invalid_chars(self, msg):
123 try:
124 msg = str(msg)
125 except UnicodeDecodeError:
126 pass
127
128 if msg:
129 try:
130 return quote_plus(msg)
131 except:
132 sys.stdout.write("error making quote plus in %s\n" % (msg,))
133 raise
134 return " "
135
136 def format_completion_message(self, defFile, completionsList):
137 """

Callers 1

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected