Skip to content

Commit d16bc31

Browse files
committed
Dict
1 parent 7449d9d commit d16bc31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ value = <dict>.setdefault(key, default) # Same, but also adds default to di
7575
```
7676

7777
```python
78-
value = <dict>.pop(key) # Removes item from dictionary.
78+
value = <dict>.pop(key) # Removes item from dictionary.
7979
{k: v for k, v in <dict>.items() if k in keys} # Filters dictionary by keys.
8080
```
8181

@@ -221,8 +221,8 @@ from numbers import Number, Integral, Real, Rational, Complex
221221
String
222222
------
223223
```python
224-
<str> = <str>.strip() # Strips all whitespace characters.
225-
<str> = <str>.strip('<chars>') # Strips all passed characters.
224+
<str> = <str>.strip() # Strips all whitespace characters.
225+
<str> = <str>.strip('<chars>') # Strips all passed characters.
226226
```
227227

228228
```python

0 commit comments

Comments
 (0)