Skip to content

Commit a31a9ee

Browse files
committed
object patch
1 parent a83a9cf commit a31a9ee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+558
-40
lines changed

Solutions/4_10/stock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# stock.py
22

3-
class Stock(object):
3+
class Stock:
44
'''
55
An instance of a stock holding consisting of name, shares, and price.
66
'''

Solutions/4_10/tableformat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tableformat.py
22

3-
class TableFormatter(object):
3+
class TableFormatter:
44
def headings(self, headers):
55
'''
66
Emit the table headers

Solutions/4_4/stock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# stock.py
22

3-
class Stock(object):
3+
class Stock:
44
'''
55
An instance of a stock holding consisting of name, shares, and price.
66
'''

Solutions/5_8/stock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# stock.py
22

3-
class Stock(object):
3+
class Stock:
44
'''
55
An instance of a stock holding consisting of name, shares, and price.
66
'''

Solutions/5_8/tableformat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tableformat.py
22

3-
class TableFormatter(object):
3+
class TableFormatter:
44
def headings(self, headers):
55
'''
66
Emit the table headers

Solutions/6_12/portfolio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# portfolio.py
22

3-
class Portfolio(object):
3+
class Portfolio:
44
def __init__(self, holdings):
55
self._holdings = holdings
66

Solutions/6_12/stock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# stock.py
22

3-
class Stock(object):
3+
class Stock:
44
'''
55
An instance of a stock holding consisting of name, shares, and price.
66
'''

Solutions/6_12/tableformat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tableformat.py
22

3-
class TableFormatter(object):
3+
class TableFormatter:
44
def headings(self, headers):
55
'''
66
Emit the table headers

Solutions/6_15/portfolio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# portfolio.py
22

3-
class Portfolio(object):
3+
class Portfolio:
44
def __init__(self, holdings):
55
self._holdings = holdings
66

Solutions/6_15/stock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# stock.py
22

3-
class Stock(object):
3+
class Stock:
44
'''
55
An instance of a stock holding consisting of name, shares, and price.
66
'''

0 commit comments

Comments
 (0)