diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt
index af04611096..57bcc81a01 100644
--- a/docs/ref/contrib/sitemaps.txt
+++ b/docs/ref/contrib/sitemaps.txt
@@ -314,7 +314,7 @@ Note:
           The latest ``lastmod`` returned by calling the method with all
           items returned by :meth:`Sitemap.items`.
 
-    .. method:: Sitemap.get_languages_for_item(item, lang_code)
+    .. method:: Sitemap.get_languages_for_item(item)
 
         .. versionadded:: 4.2