summaryrefslogtreecommitdiffstats
path: root/Lib/plat-riscos/riscospath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-riscos/riscospath.py')
-rw-r--r--Lib/plat-riscos/riscospath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-riscos/riscospath.py b/Lib/plat-riscos/riscospath.py
index d55a8b8..32f39ba 100644
--- a/Lib/plat-riscos/riscospath.py
+++ b/Lib/plat-riscos/riscospath.py
@@ -62,7 +62,7 @@ def _split(p):
s= q # find end of main FS name, not including special field
else:
for c in p[dash:s]:
- if c not in string.letters:
+ if c not in string.ascii_letters:
q= 0
break # disallow invalid non-special-field characters in FS name
r= q