JsonhPy 2.6__tar.gz → 2.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: JsonhPy
3
- Version: 2.6
3
+ Version: 2.7
4
4
  Summary: JSON for Humans in Python.
5
5
  Author-email: Joyless <joyless.mod@gmail.com>
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "JsonhPy"
3
- version = "2.6"
3
+ version = "2.7"
4
4
  authors = [
5
5
  { name="Joyless", email="joyless.mod@gmail.com" },
6
6
  ]
@@ -1668,7 +1668,7 @@ class JsonhReader:
1668
1668
  case 'U':
1669
1669
  return self._read_hex_escape_sequence(8, high_surrogate)
1670
1670
  # Escaped newline
1671
- case self._NEWLINE_CHARS:
1671
+ case _ if escape_char in self._NEWLINE_CHARS:
1672
1672
  # Join CR LF
1673
1673
  if escape_char == 'r':
1674
1674
  self._read_one('\n')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: JsonhPy
3
- Version: 2.6
3
+ Version: 2.7
4
4
  Summary: JSON for Humans in Python.
5
5
  Author-email: Joyless <joyless.mod@gmail.com>
6
6
  License-Expression: MIT
File without changes
File without changes
File without changes
File without changes