descriptors.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:sqlalchemy-media 作者: pylover 项目源码 文件源码
def seek(self, position: int, whence: int = 0) -> None:
        """
        Seek the file at the given position.

        .. note:: The :exc:`io.UnsupportedOperation` will be raised if the underlying file-object is not
        :meth:`.seekable`.

        :param position: the position to seek on.
        :param whence: optional whence argument.

        """
        raise NotImplementedError('Seek operation is not supported by this object: %r' % self)  # pragma: no cover
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号