Navigation Menu

Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
fix nonlocal in Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Apr 26, 2017
1 parent c066d40 commit daf2182
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pyquickhelper/benchhelper/benchmark.py
Expand Up @@ -261,7 +261,8 @@ def run(self, params_list):
params_list), time_begin=datetime.now())
self._metadata = []
self._metadata.append(meta)
nb_cached = 0
if sys.version_info[0] < 3:
nb_cached = 0

# cache
def cache_():
Expand Down

0 comments on commit daf2182

Please sign in to comment.