mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Migrate definitions of several platform-dependent path-related variables
into the relevant path modules. See patch #686397.
This commit is contained in:
parent
4507ec70cf
commit
117910dc44
7 changed files with 77 additions and 57 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue