From fc2444898153610df2b0ec3f0c7cb867c03c272a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 3 Aug 2019 18:43:20 +0200 Subject: [PATCH] Callable --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a147db3..0990fe7 100644 --- a/README.md +++ b/README.md @@ -1135,7 +1135,7 @@ class Counter: ### Callable * **All functions and classes have a call() method, hence are callable.** -* **When this cheatsheet uses `''` as an argument, it actually means `''`.** +* **When this cheatsheet uses `''` for an argument, it actually means `''`.** ```python class Counter: def __init__(self): diff --git a/index.html b/index.html index 04f4b8f..b033619 100644 --- a/index.html +++ b/index.html @@ -1076,7 +1076,7 @@ Z = dataclasses.make_dataclass('Z', [

Callable

  • All functions and classes have a call() method, hence are callable.
  • -
  • When this cheatsheet uses '<function>' as an argument, it actually means '<callable>'.
  • +
  • When this cheatsheet uses '<function>' for an argument, it actually means '<callable>'.
class Counter:
     def __init__(self):
         self.i = 0