What's new entry for email 5.1.
diff --git a/Doc/library/email.rst b/Doc/library/email.rst
index 8926ae4..ddf4d4b 100644
--- a/Doc/library/email.rst
+++ b/Doc/library/email.rst
@@ -118,7 +118,7 @@
   convert message bodies that have a :mailheader:`Content-Transfer-Encoding` of
   8bit to instead have a 7bit Content-Transfer-Encoding.
 
-* New function :class:`~email.generator.BytesGenerator` produces bytes
+* New class :class:`~email.generator.BytesGenerator` produces bytes
   as output, preserving any unchanged non-ASCII data that was
   present in the input used to build the model, including message bodies
   with a :mailheader:`Content-Transfer-Encoding` of 8bit.