changeset 640:a5f51b2f3fb2

Use underscore for dummy variables.
author Martin Geisler <mg@daimi.au.dk>
date Sat, 05 Apr 2008 00:00:03 +0200
parents c99ae4b6b054
children e093f8fcd640
files viff/matrix.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/viff/matrix.py	Sat Apr 05 00:00:02 2008 +0200
+++ b/viff/matrix.py	Sat Apr 05 00:00:03 2008 +0200
@@ -36,7 +36,7 @@
         @param m: The number of rows.
         @param n: The number of columns.
         """
-        self.rows = [[0 for i in range(0, n)] for j in range(0, m)]
+        self.rows = [[0 for _ in range(n)] for _ in range(m)]
         self.m = m
         self.n = n