diff --git a/README.md b/README.md index 6867313..d8962ad 100644 --- a/README.md +++ b/README.md @@ -418,9 +418,9 @@ Format ### Strings **`'!r'` calls object's [repr()](#class) method, instead of [str()](#class), to get a string.** ```python -{'abcde'!r:<10} # "'abcde' " -{'abcde':.3} # 'abc' +{'abcde'!r:10} # "'abcde' " {'abcde':10.3} # 'abc ' +{'abcde':.3} # 'abc' ``` ### Numbers diff --git a/index.html b/index.html index 1d3d215..bd6eabd 100644 --- a/index.html +++ b/index.html @@ -510,9 +510,9 @@ to_exclusive = <range>.stop
{<el>:.<10} # '<el>......'
{<el>:<0} # '<el>'
-