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 ref to protocol class in code example #27014

Closed

Conversation

akulakov
Copy link
Contributor

@akulakov akulakov commented Jul 4, 2021

In code example for typing.Protocol, reference to the previous example is used, instead it should reference the C class used in current example. As it is now, it's confusing and code sample is not runnable.

@gvanrossum
Copy link
Member

Hm, the original looks right to me. The point of the example is that C conforms to Proto, IIUC. @Fidget-Spinner

@akulakov
Copy link
Contributor Author

akulakov commented Jul 5, 2021

@gvanrossum Sorry about that, I've misunderstood the example.. closing the PR.

@akulakov akulakov closed this Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs Documentation in the Doc dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants