Skip to content

StringIO.seek does not resolve properly #546

@slozier

Description

@slozier
from io import StringIO

class Test(StringIO):
    def test(self, offset):
        self.seek(offset)

x = Test()
x.test(0)

fails with

TypeError: an integer is required

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions