Quellcode durchsuchen

Remove old comment

remotes/origin/gm/2021-09-23T00Z/github.com--lark-parser-lark/master
Erez Sh vor 3 Jahren
Ursprung
Commit
5eecb7f5c9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      lark/lark.py

+ 1
- 1
lark/lark.py Datei anzeigen

@@ -302,7 +302,7 @@ class Lark(Serialize):
else: else:
if self.options.cache is not True: if self.options.cache is not True:
raise ConfigurationError("cache argument must be bool or str") raise ConfigurationError("cache argument must be bool or str")
# Python2.7 doesn't support * syntax in tuples
cache_fn = tempfile.gettempdir() + '/.lark_cache_%s_%s_%s.tmp' % (cache_md5, *sys.version_info[:2]) cache_fn = tempfile.gettempdir() + '/.lark_cache_%s_%s_%s.tmp' % (cache_md5, *sys.version_info[:2])


if FS.exists(cache_fn): if FS.exists(cache_fn):


Laden…
Abbrechen
Speichern