8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd31f5d + d2908e9 commit d654e5bCopy full SHA for d654e5b
lib/matplotlib/cbook/__init__.py
@@ -15,7 +15,6 @@
15
import operator
16
import os
17
from pathlib import Path
18
-import re
19
import shlex
20
import subprocess
21
import sys
@@ -567,14 +566,6 @@ def get_realpath_and_stat(path):
567
566
return realpath, stat_key
568
569
570
-# A regular expression used to determine the amount of space to
571
-# remove. It looks for the first sequence of spaces immediately
572
-# following the first newline, or at the beginning of the string.
573
-_find_dedent_regex = re.compile(r"(?:(?:\n\r?)|^)( *)\S")
574
-# A cache to hold the regexs that actually remove the indent.
575
-_dedent_regex = {}
576
-
577
578
class maxdict(dict):
579
"""
580
A dictionary with a maximum size.
0 commit comments