Add example for PEP 557. (GH-5383)

diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 5e35534..9979e69 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -323,6 +323,17 @@
 ``typing.NamedTuple``, but also works on classes with mutable
 instances, among other features.
 
+For example::
+
+    @dataclass
+    class Point:
+        x: float
+        y: float
+        z: float = 0.0
+
+    p = Point(1.5, 2.5)
+    print(p)   # produces "Point(x=1.5, y=2.5, z=0.0)"
+
 .. seealso::
 
     :pep:`557` -- Data Classes