File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1172,7 +1172,7 @@ Iterable Duck Types
1172
1172
-------------------
1173
1173
1174
1174
### Iterable
1175
- * ** Only required method for iterable is iter(). It should return an iterator of its contents.**
1175
+ * ** Only required method is iter(). It should return an iterator of its contents.**
1176
1176
* ** Contains() automatically works on any object that has iter() defined.**
1177
1177
``` python
1178
1178
class MyIterable :
Original file line number Diff line number Diff line change @@ -1087,7 +1087,7 @@ <h4 id="reusablecontextmanagers">Reusable context managers:</h4>
1087
1087
< h2 id ="iterableducktypes "> < a href ="#iterableducktypes " name ="iterableducktypes "> #</ a > Iterable Duck Types</ h2 >
1088
1088
< h3 id ="iterable "> Iterable</ h3 >
1089
1089
< ul >
1090
- < li > < strong > Only required method for iterable is iter(). It should return an iterator of its contents.</ strong > </ li >
1090
+ < li > < strong > Only required method is iter(). It should return an iterator of its contents.</ strong > </ li >
1091
1091
< li > < strong > Contains() automatically works on any object that has iter() defined.</ strong > </ li >
1092
1092
</ ul >
1093
1093
< pre > < code class ="python language-python hljs "> < span class ="hljs-class "> < span class ="hljs-keyword "> class</ span > < span class ="hljs-title "> MyIterable</ span > :</ span >
You can’t perform that action at this time.
0 commit comments