Skip to content

memoryview: remove inheritance from Sequence#1

Closed
AlexWaygood wants to merge 1 commit intomainfrom
AlexWaygood-patch-1
Closed

memoryview: remove inheritance from Sequence#1
AlexWaygood wants to merge 1 commit intomainfrom
AlexWaygood-patch-1

Conversation

@AlexWaygood
Copy link
Copy Markdown
Owner

No description provided.

@AlexWaygood AlexWaygood changed the title Update builtins.pyi memoryview: remove inheritance from Sequence Oct 11, 2024
@github-actions
Copy link
Copy Markdown

Diff from mypy_primer, showing the effect of this PR on open source code:

yarl (https://github.com/aio-libs/yarl)
+   /tmp/mypy_primer/projects/yarl/tests/test_update_query.py:320:24 - error: Argument of type "memoryview[int]" cannot be assigned to parameter "query" of type "Query" in function "with_query"
+     Type "memoryview[int]" is not assignable to type "Query"
+       "memoryview[int]" is not assignable to "None"
+       "memoryview[int]" is not assignable to "str"
+       "memoryview[int]" is not assignable to "Mapping[str, QueryVariable]"
+       "memoryview[int]" is not assignable to "Sequence[Tuple[str, QueryVariable]]" (reportArgumentType)
- 136 errors, 7 warnings, 0 informations 
+ 137 errors, 7 warnings, 0 informations 

@AlexWaygood AlexWaygood deleted the AlexWaygood-patch-1 branch October 11, 2024 18:47
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.

1 participant