Fix docstring Args entries that name a parameter the function does not take (#8223)