
from javax import swing

class Doc(swing.text.PlainDocument):
    def getEndPosition(self):
        return None

