diff --git a/README.md b/README.md index 9b2467a..f150e5d 100644 --- a/README.md +++ b/README.md @@ -408,7 +408,7 @@ Format ```python {:.<10} # '......' -{:>0} # '' +{:<0} # '' ``` ### Strings diff --git a/index.html b/index.html index 8313938..4458ac0 100644 --- a/index.html +++ b/index.html @@ -502,7 +502,7 @@ to_exclusive = <range>.stop
{<el>:.<10}          # '<el>......'
-{<el>:>0}            # '<el>'
+{<el>:<0}            # '<el>'
 

Strings

'!r' calls object's repr() method, instead of str(), to get a string.

{'abcde'!r:<10}      # "'abcde'   "
 {'abcde':.3}         # 'abc'