FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add mmap as a valid buffer type. by alexchamberlain · Pull Request #2895 · python/typeshed · GitHub

Repository navigation

Add mmap as a valid buffer type. - #2895

Merged
srittau merged 1 commit into
python:masterfrom
alexchamberlain:mmap
Mar 30, 2019
Merged

srittau merged 1 commit into
python:masterfrom
alexchamberlain:mmap

Conversation

Copy link
Copy Markdown
Contributor

Currently seeing the following error from mypy, which I think this should solve:

foo.py:47: error: Argument 1 to "pack_into" of "Struct" has incompatible type "mmap"; expected "Union[array[Any], bytearray, memoryview]"

srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks. This also relates to python/typing#593

srittau merged commit f11d061 into python:master Mar 30, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL