Skip to content

Instantly share code, notes, and snippets.

@fate0
fate0 / pymarshal.py
Last active September 17, 2024 07:29
onmyoji: test
import types
import cStringIO
TYPE_NULL = '0'
TYPE_NONE = 'N'
TYPE_FALSE = 'F'
TYPE_TRUE = 'T'
TYPE_STOPITER = 'S'
TYPE_ELLIPSIS = '.'
TYPE_INT = 'i'