We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 054973c commit fcef2ecCopy full SHA for fcef2ec
partitura/io/importmusicxml.py
@@ -17,16 +17,7 @@
17
# lxml does XSD validation too but has problems with the MusicXML 3.1 XSD, so we use
18
# the xmlschema package for validating MusicXML against the definition
19
import xmlschema
20
-
21
-# Use importlib.resources for modern Python versions
22
-if sys.version_info >= (3, 9):
23
- from importlib.resources import files
24
-else:
25
- # Backport for Python 3.7-3.8
26
- try:
27
- from importlib_resources import files
28
- except ImportError:
29
+from importlib.resources import files
30
31
from partitura.directions import parse_direction
32
import partitura.score as score
0 commit comments