summaryrefslogtreecommitdiffstatshomepage
path: root/tests/perf_bench/bm_nqueens.py
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2023-02-02 11:51:48 +1100
committerJim Mussared <jim.mussared@gmail.com>2023-02-02 12:51:03 +1100
commit8b2748269244304854b3462cb8902952b4dcb892 (patch)
tree05c315fc329eb32bb55c71303eef2183bf818e35 /tests/perf_bench/bm_nqueens.py
parentfe2a8332ff9c7cc7b66ed6da04f5a4a825309818 (diff)
downloadmicropython-8b2748269244304854b3462cb8902952b4dcb892.tar.gz
micropython-8b2748269244304854b3462cb8902952b4dcb892.zip
top: Update Python formatting to black "2023 stable style".
See https://black.readthedocs.io/en/stable/the_black_code_style/index.html Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'tests/perf_bench/bm_nqueens.py')
-rw-r--r--tests/perf_bench/bm_nqueens.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/perf_bench/bm_nqueens.py b/tests/perf_bench/bm_nqueens.py
index c5a91bf304..7c6ddd59e1 100644
--- a/tests/perf_bench/bm_nqueens.py
+++ b/tests/perf_bench/bm_nqueens.py
@@ -5,6 +5,7 @@
# author: collinwinter@google.com (Collin Winter)
# n_queens function: Copyright 2009 Raymond Hettinger
+
# Pure-Python implementation of itertools.permutations().
def permutations(iterable, r=None):
"""permutations(range(3), 2) --> (0,1) (0,2) (1,0) (1,2) (2,0) (2,1)"""