Skip to content

Commit

Permalink
chore(pathlib): Add comments [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeSavefrogs committed Feb 23, 2024
1 parent e2b0337 commit 1749542
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/polyfills/pathlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class _WindowsFlavour(_Flavour):
""" Alternate pathname separator. """

has_drv = 1 == 1
""" Whether the flavour has drive letters. """

is_supported = _os.name == "nt"
""" Wether the flavour is supported on the current platform. """
Expand All @@ -59,6 +60,7 @@ class _PosixFlavour(_Flavour):
""" Alternate pathname separator. """

has_drv = 1 == 0
""" Whether the flavour has drive letters. """

is_supported = _os.name != "nt"
""" Wether the flavour is supported on the current platform. """
Expand Down

0 comments on commit 1749542

Please sign in to comment.