mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 17:34:49 +08:00
pyupgrade --py37-plus **/*.py (#1654)
* pyupgrade --py37-plus **/*.py * fixup! Format Python code with psf/black push
This commit is contained in:

committed by
John Law

parent
34c808b375
commit
28419cf839
@ -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.
|
||||
|
Reference in New Issue
Block a user