[conformance suite] Fix inaccurate comment in `protocols_generic.py` (#2166)

[conformance suite] Fix inaccurate comnent in `protocols_generic.py`

This comment states that this class fails at runtime, but that isn't true:

```pycon
>>> from typing import *
>>> T_co = TypeVar("T_co")
>>> class Proto2(Protocol[T_co], Generic[T_co]): ...
... 
>>>
```

The comment should instead quote the spec [here](https://typing.python.org/en/latest/spec/protocol.html#generic-protocols), which states that type checkers should consider it an error (even though it does not fail at runtime)
1 file changed
tree: e6af635d6f520fa252211727e1903e8654321179
  1. .github/
  2. conformance/
  3. docs/
  4. .editorconfig
  5. .flake8
  6. .gitignore
  7. .pre-commit-config.yaml
  8. .readthedocs.yaml
  9. LICENSE
  10. README.md
  11. test-requirements.txt
README.md

Static Typing for Python

Documentation and Support

The documentation for Python's static typing can be found at typing.python.org. You can get help in our support forum.

Improvements to the type system should be discussed on Python's Discourse, and are tracked in the issues in this repository.

For conversations that are more suitable to a chat platform, you can use one of the following:

Repository Content

This GitHub repository is used for several things:

Historically, this repository also hosted:

  • The typing_extensions package, which now lives in the typing_extensions repo. It used to be in the typing_extensions directory.

  • A backport of the typing module for older Python versions. It was removed after all Python versions that lack typing in the standard library reached end of life. The last released version, supporting Python 2.7 and 3.4, is available at PyPI.