Skip to content

move some stuffs related to Structure and Union from ctypes/__init__.pyi to _ctypes.pyi, as at runtime. - #10125

Merged
AlexWaygood merged 2 commits into
python:mainfrom
junkmd:move_ctypes_definitions_part2
May 1, 2023
Merged

AlexWaygood merged 2 commits into
python:mainfrom
junkmd:move_ctypes_definitions_part2

Conversation

@junkmd

@junkmd junkmd commented May 1, 2023

Copy link
Copy Markdown
Contributor

related to #8633 and #8571 (comment)

As in #10118, I would change the typestub definitions to the equivalent location as runtime.

I moved stuffs related to Structure and Union.

junkmd added 2 commits May 1, 2023 20:29
- `_CField`
- `_StructUnionMeta`
- `_StructUnionBase`
- `Union`
- `Structure`
@github-actions

github-actions Bot commented May 1, 2023

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@AlexWaygood
AlexWaygood merged commit 295a5c3 into python:main May 1, 2023
@junkmd
junkmd deleted the move_ctypes_definitions_part2 branch May 1, 2023 12:05
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