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
11721172-------------------
11731173
11741174### 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.**
11761176* ** Contains() automatically works on any object that has iter() defined.**
11771177``` python
11781178class MyIterable :
Original file line number Diff line number Diff line change @@ -1087,7 +1087,7 @@ <h4 id="reusablecontextmanagers">Reusable context managers:</h4>
10871087< h2 id ="iterableducktypes "> < a href ="#iterableducktypes " name ="iterableducktypes "> #</ a > Iterable Duck Types</ h2 >
10881088< h3 id ="iterable "> Iterable</ h3 >
10891089< 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 >
10911091< li > < strong > Contains() automatically works on any object that has iter() defined.</ strong > </ li >
10921092</ ul >
10931093< 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