Right, `.. method::` exists, but here it should be `:meth:` instead, I think.