Commit 48e24783 authored by Benjamin Peterson's avatar Benjamin Peterson

fix variable name #5595

parent 49595620
......@@ -257,7 +257,7 @@ lexists = exists
def ismount(path):
"""Test whether a path is a mount point (defined as root of drive)"""
unc, rest = splitunc(path)
seps = _get_bothseps(p)
seps = _get_bothseps(path)
if unc:
return rest in p[:0] + seps
p = splitdrive(path)[1]
......
......@@ -43,6 +43,8 @@ Core and Builtins
Library
-------
- Issue #5595: Fix UnboundedLocalError in ntpath.ismount().
- Issue #1174606: Calling read() without arguments of an unbounded file
(typically /dev/zero under Unix) could crash the interpreter.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment