FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs(platform): document the desktop OS value and is_desktop by nigelseah24 · Pull Request #64 · pythonnative/pythonnative · GitHub

docs(platform): document the desktop OS value and is_desktop - #64

Merged
owenthcarey merged 2 commits into
pythonnative:mainfrom
nigelseah24:docs/platform-docs-add-desktop-os
Sep 3, 2026
Merged

owenthcarey merged 2 commits into
pythonnative:mainfrom
nigelseah24:docs/platform-docs-add-desktop-os

Conversation

Copy link
Copy Markdown
Contributor

What

  • Updated the quick-reference table to include "desktop" in the Platform.OS row and add Platform.is_desktop to the booleans row, with a short note that "desktop" means the pn preview Tkinter backend.

Why

  • The quick-reference table in docs/api/platform.md (around line 19) says Platform.OS is "ios", "android", or "test", and only lists is_ios / is_android / is_test. Since the desktop preview backend landed, the code also reports "desktop" and exposes Platform.is_desktop (see src/pythonnative/platform.py, lines 39, 77-78, 83, and 94).

Testing

  • No tests, only doc change

Risks/Impact

  • No risks, only doc change

Docs/Follow-ups

  • Docs updated

Closes #39

owenthcarey merged commit fcacf86 into pythonnative:main Sep 3, 2026
15 checks passed

Copy link
Copy Markdown
Contributor

Thank you so much!

nigelseah24 deleted the docs/platform-docs-add-desktop-os branch September 3, 2026 10:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Platform API docs omit the "desktop" OS value and is_desktop

2 participants


Back | FazBrowse Home | New Git URL