From be377779b69e45c2174e11142d01d55f4a0e6690 Mon Sep 17 00:00:00 2001 From: Matt Kohl <95224098+mattkohl-flex@users.noreply.github.com> Date: Tue, 31 May 2022 15:36:12 +0100 Subject: [PATCH] Update README.md Grammatical fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7f6d9ec..b5ee9d7 100644 --- a/README.md +++ b/README.md @@ -619,7 +619,7 @@ True * When `id` was called, Python created a `WTF` class object and passed it to the `id` function. The `id` function takes its `id` (its memory location), and throws away the object. The object is destroyed. * When we do this twice in succession, Python allocates the same memory location to this second object as well. Since (in CPython) `id` uses the memory location as the object id, the id of the two objects is the same. * So, the object's id is unique only for the lifetime of the object. After the object is destroyed, or before it is created, something else can have the same id. -* But why did the `is` operator evaluated to `False`? Let's see with this snippet. +* But why did the `is` operator evaluate to `False`? Let's see with this snippet. ```py class WTF(object): def __init__(self): print("I")