Skip to content

move some stuffs related to Windows from ctypes/__init__.pyi to _ctypes.pyi, as at runtime. - #10128

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

AlexWaygood merged 2 commits into
python:mainfrom
junkmd:move_ctypes_definitions_part3

Conversation

@junkmd

@junkmd junkmd commented May 2, 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 Windows.

junkmd added 2 commits May 2, 2023 09:28
- windows stuffs
  - `FormatError`
  - `get_last_error`
  - `set_last_error`
@github-actions

github-actions Bot commented May 2, 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 bbeec7c into python:main May 2, 2023
@junkmd
junkmd deleted the move_ctypes_definitions_part3 branch May 2, 2023 10:45
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