MCPcopy Create free account
hub / github.com/simplejson/simplejson / INVALID

Method INVALID

simplejson/tests/test_scanstring.py:246–247  ·  view source on GitHub ↗
(pos)

Source from the content-addressed store, hash-verified

244 # otherwise the positional 'Invalid \\uXXXX escape sequence' error.
245 UNTERMINATED = (-1, 'Unterminated string starting at')
246 def INVALID(pos):
247 return (pos, 'Invalid \\uXXXX escape sequence')
248
249 cases = [
250 # Not enough room for 4 hex digits after \u.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected