Skip to content

Commit fc24448

Browse files
committed
Callable
1 parent 4726047 commit fc24448

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ class Counter:
11351135

11361136
### Callable
11371137
* **All functions and classes have a call() method, hence are callable.**
1138-
* **When this cheatsheet uses `'<function>'` as an argument, it actually means `'<callable>'`.**
1138+
* **When this cheatsheet uses `'<function>'` for an argument, it actually means `'<callable>'`.**
11391139
```python
11401140
class Counter:
11411141
def __init__(self):

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@
10761076
</code></pre>
10771077
<div><h3 id="callable">Callable</h3><ul>
10781078
<li><strong>All functions and classes have a call() method, hence are callable.</strong></li>
1079-
<li><strong>When this cheatsheet uses <code class="python hljs"><span class="hljs-string">'&lt;function&gt;'</span></code> as an argument, it actually means <code class="python hljs"><span class="hljs-string">'&lt;callable&gt;'</span></code>.</strong></li>
1079+
<li><strong>When this cheatsheet uses <code class="python hljs"><span class="hljs-string">'&lt;function&gt;'</span></code> for an argument, it actually means <code class="python hljs"><span class="hljs-string">'&lt;callable&gt;'</span></code>.</strong></li>
10801080
</ul><pre><code class="python language-python hljs"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Counter</span>:</span>
10811081
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">__init__</span><span class="hljs-params">(self)</span>:</span>
10821082
self.i = <span class="hljs-number">0</span>

0 commit comments

Comments
 (0)