Make type-hint tag#1943
Conversation
|
@SavagePastaMan A few first-glance alterations: I don't like that we're calling the variable There's also some small rewording I've done here. We should probably link to some further resources on type hints (perhaps a PEP?) and also mention static type checkers like mypy which can be used to "enforce" type hints. I'm going to bed now, will look further into this tomorrow 👍 *(Apparently my tired brain forgot to add the labels all at once so sorry for the spam there.) |
I wanted to include it to show that you can typehints normal variables too, maybe we can find another place to show that? I agree with not naming it
Yes, I agree. Also,
Should be "... function are said to ..." |
Added links to mypy and PEP484 (the type hint pep). Removed the temp variable for clarity, maybe it's fine if we don't show that you can typehint normal variables?
onerandomusername
left a comment
There was a problem hiding this comment.
Given that type-hinting also exists, it may be worth mentioning that pydis has that channel as well? Not sure.
|
@jonathan-d-zhang are you interested in continuing this? If not i'd be happy to take over. |
|
@wookie184 oops, I kinda forgot about this yeah, you can take over if you'd like |
|
I've made a couple of changes, feel free to request changes on any of them if you think anything should be reverted to previous wording or changed further |
Co-authored-by: ChrisJL <ChrisLovering@users.noreply.github.com>

@TizzySaurus
Closes python-discord/meta#154
Let the bikeshedding begin!