Skip to content

Commit 3b4a7f9

Browse files
Add details.rst for c-extension-no-member (#9933)
Add skeleton explanation for `typevar-name-incorrect-variance` Closes #5953
1 parent 7d60c27 commit 3b4a7f9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
1+
``c-extension-no-member`` is an informational variant of ``no-member`` to encourage
2+
allowing introspection of C extensions as described in the
3+
`page <https://pylint.readthedocs.io/en/latest/user_guide/messages/error/no-member.html>`_
4+
for ``no-member``.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
When naming type vars, only use a ``_co`` suffix when indicating covariance or ``_contra`` when indicating contravariance.

0 commit comments

Comments
 (0)