You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
angular_diameter_distance documents z1 while the parameter is z #20206
The first parameter is z, not z1. Since both are positional-only, nothing breaks at call time, but the rendered signature and the section heading disagree, and numpydoc-style tooling that matches names will not pair the heading with the parameter.
I did not change it in the PR because the prose underneath deliberately explains the one-argument and two-argument forms in terms of z, z1 and z2, so renaming the heading to z, z2 may lose that. Two options I can see:
head the section z, z2 and keep the existing prose, which already spells out that a single argument is z;
leave it as is, if the current wording is considered clearer than the name match.
Happy to send a PR for either, or to leave it alone.
Found with a static checker comparing numpydoc parameter names against the signature below them; each finding was read by hand.
Activity
pllim commentedon Aug 5, 2026
@nstarman , can you please advise? Thanks!
nstarman commentedon Aug 6, 2026
Thanks for the PR!