@@ -60,17 +60,17 @@ So, here we go...
60
60
- [ ▶ When True is actually False] ( #%E2%96%B6-when-true-is-actually-false )
61
61
- [ ▶ From filled to None in one instruction...] ( #%E2%96%B6-from-filled-to-none-in-one-instruction )
62
62
- [ ▶ Subclass relationships * ] ( #%E2%96%B6-subclass-relationships- )
63
- - [ ▶ Implicity key type conversion * ] ( #%E2%96%B6-implicity -key-type-conversion- )
63
+ - [ ▶ The mysterious key type conversion * ] ( #%E2%96%B6-the-mysterious -key-type-conversion- )
64
64
- [ ▶ Let's see if you can guess this?] ( #%E2%96%B6-lets-see-if-you-can-guess-this )
65
65
- [ Section: Watchout for the landmines!] ( #section-watchout-for-the-landmines )
66
66
- [ ▶ Modifying a dictionary while iterating over it] ( #%E2%96%B6-modifying-a-dictionary-while-iterating-over-it )
67
67
- [ ▶ Stubborn ` del ` operator * ] ( #%E2%96%B6-stubborn-del-operator- )
68
- - [ ▶ Deleting a list item while iterating over it ] ( #%E2%96%B6-deleting-a-list-item-while-iterating-over-it )
69
- - [ ▶ Loop variables leaking out of local scope !] ( #%E2%96%B6-loop-variables-leaking-out-of-local-scope )
68
+ - [ ▶ Deleting a list item while iterating] ( #%E2%96%B6-deleting-a-list-item-while-iterating )
69
+ - [ ▶ Loop variables leaking out!] ( #%E2%96%B6-loop-variables-leaking-out )
70
70
- [ ▶ Beware of default mutable arguments!] ( #%E2%96%B6-beware-of-default-mutable-arguments )
71
- - [ ▶ Catching the Exceptions! ] ( #%E2%96%B6-catching-the-exceptions )
71
+ - [ ▶ Catching the Exceptions] ( #%E2%96%B6-catching-the-exceptions )
72
72
- [ ▶ Same operands, different story!] ( #%E2%96%B6-same-operands-different-story )
73
- - [ ▶ Using a variable not defined in scope] ( #%E2%96%B6-using-a-variable-not-defined-in- scope )
73
+ - [ ▶ The out of scope variable ] ( #%E2%96%B6-the-out-of- scope-variable )
74
74
- [ ▶ Be careful with chained operations] ( #%E2%96%B6-be-careful-with-chained-operations )
75
75
- [ ▶ Name resolution ignoring class scope] ( #%E2%96%B6-name-resolution-ignoring-class-scope )
76
76
- [ ▶ Needle in a Haystack] ( #%E2%96%B6-needle-in-a-haystack )
@@ -1416,7 +1416,7 @@ The Subclass relationships were expected to be transitive, right? (i.e., if `A`
1416
1416
1417
1417
---
1418
1418
1419
- ### ▶ Implicity key type conversion *
1419
+ ### ▶ The mysterious key type conversion *
1420
1420
1421
1421
```py
1422
1422
class SomeClass(str):
@@ -1611,7 +1611,7 @@ Okay, now it's deleted :confused:
1611
1611
1612
1612
---
1613
1613
1614
- ### ▶ Deleting a list item while iterating over it
1614
+ ### ▶ Deleting a list item while iterating
1615
1615
1616
1616
```py
1617
1617
list_1 = [1, 2, 3, 4]
@@ -1671,7 +1671,7 @@ Can you guess why the output is `[2, 4]`?
1671
1671
1672
1672
---
1673
1673
1674
- ### ▶ Loop variables leaking out of local scope !
1674
+ ### ▶ Loop variables leaking out!
1675
1675
1676
1676
1\.
1677
1677
```py
@@ -1791,7 +1791,7 @@ def some_func(default_arg=[]):
1791
1791
1792
1792
---
1793
1793
1794
- ### ▶ Catching the Exceptions!
1794
+ ### ▶ Catching the Exceptions
1795
1795
1796
1796
```py
1797
1797
some_list = [1, 2, 3]
@@ -1908,7 +1908,7 @@ a += [5, 6, 7, 8]
1908
1908
1909
1909
---
1910
1910
1911
- ### ▶ Using a variable not defined in scope
1911
+ ### ▶ The out of scope variable
1912
1912
1913
1913
```py
1914
1914
a = 1
0 commit comments