#16154: fix some doctests in Doc/library.  Patch by Ravi Sinha.
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index d821339..5778980 100644
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -610,7 +610,7 @@
    3232235521
    >>>
    >>> width = 5
-   >>> for num in range(5,12):
+   >>> for num in range(5,12): #doctest: +NORMALIZE_WHITESPACE
    ...     for base in 'dXob':
    ...         print('{0:{width}{base}}'.format(num, base=base, width=width), end=' ')
    ...     print()
@@ -698,7 +698,7 @@
    >>> Template('Give $who $100').substitute(d)
    Traceback (most recent call last):
    [...]
-   ValueError: Invalid placeholder in string: line 1, col 10
+   ValueError: Invalid placeholder in string: line 1, col 11
    >>> Template('$who likes $what').substitute(d)
    Traceback (most recent call last):
    [...]