Migrate definitions of several platform-dependent path-related variables

into the relevant path modules.  See patch #686397.
This commit is contained in:
Skip Montanaro 2003-02-14 19:35:31 +00:00
parent 4507ec70cf
commit 117910dc44
7 changed files with 77 additions and 57 deletions

View file

@ -12,6 +12,14 @@ Instead of importing this module directly, import os and refer to this module
as os.path.
"""
# strings representing various path-related bits and pieces
curdir = '@'
pardir = '^'
extsep = '.'
sep = '.'
pathsep = ','
defpath = '<Run$Dir>'
altsep = None
# Imports - make an error-generating swi object if the swi module is not
# available (ie. we are not running on RISC OS Python)