Skip to content

Commit

Permalink
update README according to the new preserve_whitespace usage
Browse files Browse the repository at this point in the history
  • Loading branch information
astanin committed Sep 26, 2024
1 parent 54ac107 commit 0d5d30e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -739,13 +739,8 @@ column, in which case every column may have different number formatting:
### Text formatting

By default, `tabulate` removes leading and trailing whitespace from text
columns. To disable whitespace removal, set the global module-level flag
`PRESERVE_WHITESPACE`:

```python
import tabulate
tabulate.PRESERVE_WHITESPACE = True
```
columns. To disable whitespace removal, pass `preserve_whitespace=True`.
Older versions of the library used a global module-level flag PRESERVE_WHITESPACE.

### Wide (fullwidth CJK) symbols

Expand Down

0 comments on commit 0d5d30e

Please sign in to comment.