pyupgrade --py37-plus **/*.py (#1654)

* pyupgrade --py37-plus **/*.py

* fixup! Format Python code with psf/black push
This commit is contained in:
Christian Clauss
2020-01-03 15:25:36 +01:00
committed by John Law
parent 34c808b375
commit 28419cf839
77 changed files with 71 additions and 128 deletions

View File

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Created on Mon Feb 26 14:29:11 2018
@ -25,7 +24,7 @@ import math
import random
class Vector(object):
class Vector:
"""
This class represents a vector of arbitrary size.
You need to give the vector components.
@ -205,7 +204,7 @@ def randomVector(N, a, b):
return Vector(ans)
class Matrix(object):
class Matrix:
"""
class: Matrix
This class represents a arbitrary matrix.