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

deploy: fcacf86df77bada7b01343d56b5f455df0a691ff · pythonnative/pythonnative@c541dee · GitHub

Commit c541dee

Browse files
committed
deploy: fcacf86
1 parent 3aa08da commit c541dee

3 files changed

Lines changed: 46 additions & 36 deletions

File tree

‎api/platform/index.html‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3974,14 +3974,14 @@ <h2 id="pythonnative.platform.get_platform" class="doc doc-heading">
39743974
<tbody>
39753975
<tr>
39763976
<td><code>Platform.OS</code></td>
3977-
<td><code>"ios"</code>, <code>"android"</code>, or <code>"test"</code></td>
3977+
<td><code>"ios"</code>, <code>"android"</code>, <code>"desktop"</code>, or <code>"test"</code></td>
39783978
</tr>
39793979
<tr>
39803980
<td><code>Platform.Version</code></td>
39813981
<td>Best-effort OS version string</td>
39823982
</tr>
39833983
<tr>
3984-
<td><code>Platform.is_ios</code> / <code>Platform.is_android</code> / <code>Platform.is_test</code></td>
3984+
<td><code>Platform.is_ios</code> / <code>Platform.is_android</code> / <code>Platform.is_desktop</code> / <code>Platform.is_test</code></td>
39853985
<td>Booleans</td>
39863986
</tr>
39873987
<tr>
@@ -3990,6 +3990,9 @@ <h2 id="pythonnative.platform.get_platform" class="doc doc-heading">
39903990
</tr>
39913991
</tbody>
39923992
</table>
3993+
<ul>
3994+
<li><code>"desktop"</code> means the <code>pn preview</code> Tkinter backend.</li>
3995+
</ul>
39933996
<h2 id="see-also">See also<a class="headerlink" href="#see-also" title="Permanent link">&para;</a></h2>
39943997
<ul>
39953998
<li><a href="../hooks/">Window dimensions, safe area, keyboard hooks</a> for

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL