More conversion to new-style optional args.
diff --git a/Doc/library/heapq.rst b/Doc/library/heapq.rst
index 4a18e02..6acb283 100644
--- a/Doc/library/heapq.rst
+++ b/Doc/library/heapq.rst
@@ -115,7 +115,7 @@
    streams is already sorted (smallest to largest).
 
 
-.. function:: nlargest(n, iterable[, key])
+.. function:: nlargest(n, iterable, key=None)
 
    Return a list with the *n* largest elements from the dataset defined by
    *iterable*.  *key*, if provided, specifies a function of one argument that is
@@ -124,7 +124,7 @@
    reverse=True)[:n]``
 
 
-.. function:: nsmallest(n, iterable[, key])
+.. function:: nsmallest(n, iterable, key=None)
 
    Return a list with the *n* smallest elements from the dataset defined by
    *iterable*.  *key*, if provided, specifies a function of one argument that is