diff --git a/guide/english/python/difference-between-is-and-equal-equal-operators/index.md b/guide/english/python/difference-between-is-and-equal-equal-operators/index.md index 3cd26bbd26..422d4da236 100644 --- a/guide/english/python/difference-between-is-and-equal-equal-operators/index.md +++ b/guide/english/python/difference-between-is-and-equal-equal-operators/index.md @@ -1,7 +1,7 @@ --- title: Difference between Python 'is' and '==' operators --- -`is` is a check for object identity - ie, checking if two or more variables are referring to the same object. You can't overload `is`. +`is` is a check for object identity - ie, checking if two or more variables are referring to the same object. You can't overload `is`. That object identity is established and assigned with `=`. `==` evaluates to true if object referred to by the variables are equal. You can overload `==` via the `__eq__` operator.