Skip to content

Wrong documentation? - SFTPHandle.read returns tuple #133

Closed

Description

@hakaishi

documentation url: https://ssh2-python.readthedocs.io/en/latest/sftp_handle.html#ssh2.sftp_handle.SFTPHandle.read

Problem: Documentation says that read returns bytes, but it actually returns a tuple of (return code, bytes)

Activity

  1. pkittenis commented on Dec 1, 2020

    @pkittenis
    Member

    Thanks for the interest.

    Yes, documentation is wrong, it should be a tuple. PR to update them is welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions