From e7316a2a1e135a1302e78289d244ac79a8d705f1 Mon Sep 17 00:00:00 2001 From: zahra-0101 <82537171+zahra-0101@users.noreply.github.com> Date: Sun, 18 Apr 2021 03:38:37 +0430 Subject: [PATCH] Update one_liners.rst misspelled --- one_liners.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/one_liners.rst b/one_liners.rst index 17dc776..c2c3a19 100644 --- a/one_liners.rst +++ b/one_liners.rst @@ -32,7 +32,7 @@ repl. Here is the relevant code: print(dir(my_dict)) # ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort'] - pprint(dir(my_dict)) + print(dir(my_dict)) # ['__add__', # '__class__', # '__contains__',