Browse Source
Merge pull request #11 from mdevlin72/master
Slight correction to <str>.strip descriptions
pull/14/head
Jure Šorn
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
README.md
|
|
@ -226,8 +226,8 @@ from numbers import Number, Integral, Real, Rational, Complex |
|
|
|
String |
|
|
|
------ |
|
|
|
```python |
|
|
|
<str> = <str>.strip() # Strips all whitespace characters. |
|
|
|
<str> = <str>.strip('<chars>') # Strips all passed characters. |
|
|
|
<str> = <str>.strip() # Strips all whitespace characters from start and end. |
|
|
|
<str> = <str>.strip('<chars>') # Strips all passed characters from start and end. |
|
|
|
``` |
|
|
|
|
|
|
|
```python |
|
|
|