diff --git a/README.md b/README.md index f867562..63dd2e3 100644 --- a/README.md +++ b/README.md @@ -416,7 +416,7 @@ Format ``` ### Strings -**`'!r'` calls object's repr() method, instead of str(), to get a string.** +**`'!r'` calls object's [repr()](#class) method, instead of [str()](#class), to get a string.** ```python {'abcde'!r:<10} # "'abcde' " {'abcde':.3} # 'abc' diff --git a/index.html b/index.html index 142e8df..5ea481e 100644 --- a/index.html +++ b/index.html @@ -511,7 +511,7 @@ to_exclusive = <range>.stop
{<el>:.<10}                                    # '<el>......'
 {<el>:<0}                                      # '<el>'
 
-

Strings

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

{'abcde'!r:<10}                                # "'abcde'   "
+

Strings

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

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