# Path: pdfminer/utils.py
# def choplist(n, seq):
#     """Groups every n elements of the list."""
#     r = []
#     for x in seq:
#         r.append(x)
#         if len(r) == n:
#             yield tuple(r)
#             r = []
#     return


import re
import logging
import unittest
from .utils import choplist
        from io import BytesIO
        from io import BytesIO
#!/usr/bin/env python

STRICT = 0


##  PS Exceptions
##
class PSException(Exception):
    pass


class PSEOF(PSException):
    pass


class PSSyntaxError(PSException):
    pass



# Path: pdfminer/utils.py
# def choplist(n, seq):
#     """Groups every n elements of the list."""
#     r = []
#     for x in seq:
#         r.append(x)
#         if len(r) == n:
#             yield tuple(r)
#             r = []
#     return


# Path: pdfminer/psparser.py
import re
import logging
import unittest
from .utils import choplist
        from io import BytesIO
        from io import BytesIO

#!/usr/bin/env python

STRICT = 0


##  PS Exceptions
##
class PSException(Exception):
    pass


class PSEOF(PSException):
    pass


class PSSyntaxError(PSException):
    pass



class PSTypeError(PSException):