Add more examples.
diff --git a/Doc/whatsnew/3.1.rst b/Doc/whatsnew/3.1.rst
index 014cc4f..1fe2de8 100644
--- a/Doc/whatsnew/3.1.rst
+++ b/Doc/whatsnew/3.1.rst
@@ -90,6 +90,10 @@
 a number with a thousands separator.  That provides a way to humanize a
 program's output, improving its professional appearance and readability::
 
+    >>> format(1234567, ',d')
+    '1,234,567'
+    >>> format(1234567.89, ',.2f')
+    '1,234,567.89'
     >>> format(Decimal('1234567.89'), ',f')
     '1,234,567.89'