Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5dca737

Browse files
authored
Merge pull request #20124 from anntzer/wp36
Remove workaround unneeded on Py3.7+, which we require now.
2 parents 3628661 + de37ce7 commit 5dca737

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/matplotlib/font_manager.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,6 @@ def _win32RegistryFonts(reg_domain, base_dir):
248248
key, value, tp = winreg.EnumValue(local, j)
249249
if not isinstance(value, str):
250250
continue
251-
252-
# Work around for https://bugs.python.org/issue25778, which
253-
# is fixed in Py>=3.6.1.
254-
value = value.split("\0", 1)[0]
255-
256251
try:
257252
# If value contains already an absolute path, then it
258253
# is not changed further.

0 commit comments

Comments
 (0)