Skip to content

Clarify is_sun_up_at docstring to say Sun is up - #1144

Merged
brandon-rhodes merged 1 commit into
skyfielders:masterfrom
prajwalhendre:fix/sunrise-docstring
Sep 29, 2026
Merged

brandon-rhodes merged 1 commit into
skyfielders:masterfrom
prajwalhendre:fix/sunrise-docstring

Conversation

@prajwalhendre

Copy link
Copy Markdown
Contributor

The docstring for is_sun_up_at said the Sun “has risen,” but the function returns whether the Sun is currently up (altitude >= -0.8333°). Updated the wording to match the code.

@brandon-rhodes
brandon-rhodes merged commit 31a6ed7 into skyfielders:master Sep 29, 2026
2 checks passed
@brandon-rhodes

Copy link
Copy Markdown
Member

This language is indeed a bit clearer, so I've gone ahead and merged! I hope the previous language did not leave you confused for too long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants