Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Jan 10, 2024

Helps #2625.

compiled_code = compile(expression, "<string>", "eval")

def scan(code):
def scan(code) -> None:
Copy link
Member

Choose a reason for hiding this comment

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

What type is code?

Copy link
Member Author

Choose a reason for hiding this comment

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

I've pushed a commit.

Copy link
Member

Choose a reason for hiding this comment

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

code's type is CodeType :D

radarhere and others added 2 commits January 10, 2024 23:36
@hugovk hugovk merged commit d6d6c7c into python-pillow:main Jan 11, 2024
@radarhere radarhere deleted the type_hints_imagemath branch January 11, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants