Skip to content

Conversation

@shihai1991
Copy link
Member

@shihai1991shihai1991 commented Apr 8, 2020

@shihai1991
Copy link
MemberAuthor

@corona10 Hi, Dong-hee Na, congratulations!

this cast is redundant, right?

Copy link
Member

@corona10corona10 left a comment

Choose a reason for hiding this comment

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

Thanks for catching this :)
Since PyScannerType and PyEncoderType is PyObject*.
Casting is unnecessary things.

lgtm!

@corona10
Copy link
Member

cc @vstinner

@shihai1991
Copy link
MemberAuthor

Thanks for catching this :)
Since PyScannerType and PyEncoderType is PyObject*.
Casting is unnecessary things.

lgtm!

Thanks, MAYBE you can try use your merge right in this PR ;)

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

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

LGTM. Usually, we don't accept coding style only changes. But I think that it's ok to make an exception here.

@corona10corona10 merged commit dcb04d9 into python:masterApr 9, 2020
@vstinner
Copy link
Member

@corona10: Congrats for your first merge ;-)

@corona10
Copy link
Member

@vstinner Thank you, it is the singularity of life

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@shihai1991@corona10@vstinner@the-knights-who-say-ni@bedevere-bot