Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIx various typos #11498

Merged
merged 3 commits into from Nov 9, 2021
Merged

FIx various typos #11498

merged 3 commits into from Nov 9, 2021

Conversation

luzpaz
Copy link
Contributor

@luzpaz luzpaz commented Nov 8, 2021

Found via codespell -q 3 -S ./mypyc/external/googletest -L alo,ans,asend,ba,bre,dne,fo,haa,ist,larg,myu,nams,spawnve,statics,thow,ure,wont

Found via `codespell -q 3 -S ./mypyc/external/googletest -L alo,ans,asend,ba,bre,dne,fo,haa,ist,larg,myu,nams,spawnve,statics,thow,ure,wont`
@luzpaz
Copy link
Contributor Author

luzpaz commented Nov 8, 2021

Please review f7798ec closely

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

LGMT, thanks! 👍

@@ -121,7 +121,7 @@ class type(object):
def __new__(cls, name: str, bases: Tuple[type, ...], namespace: Dict[str, Any]) -> type: ...
def __call__(self, *args: Any, **kwds: Any) -> Any: ...
def __subclasses__(self: _TT) -> List[_TT]: ...
# Note: the documentation doesnt specify what the return type is, the standard
# Note: the documentation doesn't specify what the return type is, the standard
Copy link
Member

Choose a reason for hiding this comment

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

Could you make these changes in the separate typeshed repo instead? Mypy just copies it in.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, what's the repo address?

Copy link
Member

Choose a reason for hiding this comment

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

https://github.com/python/typeshed, thanks! Please remove the typeshed changes from this PR, we'll carry them in the next time we sync typeshed into this repo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted in 40e1fd8

luzpaz added a commit to luzpaz/typeshed that referenced this pull request Nov 9, 2021
Found via `codespell -q 3 -L alo,asend,ba,nams,spawnve
`  
Originally found downstream python/mypy#11498 (comment)
luzpaz added a commit to luzpaz/typeshed that referenced this pull request Nov 9, 2021
Found via `codespell -q 3 -L alo,asend,ba,nams,spawnve`  

Originally found downstream python/mypy#11498 (comment)
Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

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

Thanks, looks great!

@hauntsaninja hauntsaninja merged commit f194551 into python:master Nov 9, 2021
@luzpaz luzpaz deleted the typos branch November 9, 2021 01:56
# Include import froms that import names defined in __all__.
# Include import forms that import names defined in __all__.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the original version was correct here. This is referring to "import froms" as in from x import y statements, not import forms.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice catch!

hauntsaninja added a commit that referenced this pull request Nov 10, 2021
hauntsaninja added a commit that referenced this pull request Nov 10, 2021
tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this pull request Jan 20, 2022
Found via `codespell -q 3 -S ./mypyc/external/googletest -L alo,ans,asend,ba,bre,dne,fo,haa,ist,larg,myu,nams,spawnve,statics,thow,ure,wont`
tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this pull request Jan 20, 2022
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.

None yet

5 participants