Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9ca0eca9
Commit
9ca0eca9
authored
Aug 25, 2006
by
Brett Cannon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some uses of '<>'.
parent
0e1cff56
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Lib/plat-riscos/riscosenviron.py
Lib/plat-riscos/riscosenviron.py
+1
-1
Lib/plat-riscos/rourl2path.py
Lib/plat-riscos/rourl2path.py
+1
-1
No files found.
Lib/plat-riscos/riscosenviron.py
View file @
9ca0eca9
...
...
@@ -13,7 +13,7 @@ class _Environ:
return
len
(
riscos
.
getenvdict
())
def
__getitem__
(
self
,
key
):
ret
=
riscos
.
getenv
(
key
)
if
ret
<>
None
:
if
ret
!=
None
:
return
ret
else
:
raise
KeyError
...
...
Lib/plat-riscos/rourl2path.py
View file @
9ca0eca9
...
...
@@ -14,7 +14,7 @@ def url2pathname(url):
"""OS-specific conversion from a relative URL of the 'file' scheme
to a file system path; not recommended for general use."""
tp
=
urllib
.
splittype
(
url
)[
0
]
if
tp
and
tp
<>
'file'
:
if
tp
and
tp
!=
'file'
:
raise
RuntimeError
,
'Cannot convert non-local URL to pathname'
# Turn starting /// into /, an empty hostname means current host
if
url
[:
3
]
==
'///'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment