Skip to content

Commit

Permalink
Fixes errors in python pickle format (#301)
Browse files Browse the repository at this point in the history
* Fixes u4 -> u1 for unicodestring1 op
* Fixes typo in id reference.
  • Loading branch information
slawo-ch committed Jul 9, 2020
1 parent b86f71e commit 3b916c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions serialization/python_pickle.ksy
Expand Up @@ -295,7 +295,7 @@ types:
unicodestring1:
seq:
- id: len
type: u4
type: u1
- id: val
type: str
encoding: utf8
Expand Down Expand Up @@ -610,6 +610,6 @@ enums:
-orig-id: "NEXT_BUFFER"
doc: push next out-of-band buffer
0x98:
id: "read_buffer"
id: "readonly_buffer"
-orig-id: "READONLY_BUFFER"
doc: make top of stack readonly

0 comments on commit 3b916c2

Please sign in to comment.