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

Skip to content

Commit de37ce7

Browse files
committed
Remove workaround unneeded on Py3.7+, which we require now.
1 parent 95b4527 commit de37ce7

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
@@ -244,11 +244,6 @@ def _win32RegistryFonts(reg_domain, base_dir):
244244
key, value, tp = winreg.EnumValue(local, j)
245245
if not isinstance(value, str):
246246
continue
247-
248-
# Work around for https://bugs.python.org/issue25778, which
249-
# is fixed in Py>=3.6.1.
250-
value = value.split("\0", 1)[0]
251-
252247
try:
253248
# If value contains already an absolute path, then it
254249
# is not changed further.

0 commit comments

Comments
 (0)