You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1094,7 +1094,7 @@
1094
1094
<li><strong>Iterators returned by the <ahref="#iterator">iter()</a> function, such as list_iterator and set_iterator.</strong></li>
1095
1095
<li><strong>Objects returned by the <ahref="#itertools">itertools</a> module, such as count, repeat and cycle.</strong></li>
1096
1096
<li><strong>Generators returned by the <ahref="#generator">generator functions</a> and <ahref="#comprehension">generator expressions</a>.</strong></li>
<li><strong>File objects returned by the <ahref="#open">open()</a> function, etc.</strong></li>
1098
1098
</ul><div><h3id="callable">Callable</h3><ul>
1099
1099
<li><strong>All functions and classes have a call() method, hence are callable.</strong></li>
1100
1100
<li><strong>When this cheatsheet uses <codeclass="python hljs"><spanclass="hljs-string">'<function>'</span></code> for an argument, it actually means <codeclass="python hljs"><spanclass="hljs-string">'<callable>'</span></code>.</strong></li>
0 commit comments