(version)
| 194 | _MAX_HEADER_SIZE = 10000 |
| 195 | |
| 196 | def _check_version(version): |
| 197 | if version not in [(1, 0), (2, 0), (3, 0), None]: |
| 198 | msg = "we only support format version (1,0), (2,0), and (3,0), not %s" |
| 199 | raise ValueError(msg % (version,)) |
| 200 | |
| 201 | def magic(major, minor): |
| 202 | """ Return the magic string for the given file format version. |
no outgoing calls
no test coverage detected