We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b8e8b commit 3e7974cCopy full SHA for 3e7974c
docs/readability/test_for_object_identity_should_be_is_not.rst
@@ -2,7 +2,7 @@ Test for object identity should be ``is``
2
========================================
3
4
Testing the identity of two objects can be achieved in python with a special operator called ``is``.
5
-Most prominently it is used to check whether an variable points to ``None``.
+Most prominently it is used to check whether a variable points to ``None``.
6
But the operator can examine any kind of identity.
7
This often leads to confusion because equality of two different objects will return ``False``.
8
0 commit comments