MCPcopy Create free account
hub / github.com/dabeaz-course/python-mastery / __init__

Method __init__

Solutions/2_5/readrides.py:46–50  ·  view source on GitHub ↗
(self, route, date, daytype, rides)

Source from the content-addressed store, hash-verified

44class Row:
45 __slots__ = ('route', 'date', 'daytype', 'rides')
46 def __init__(self, route, date, daytype, rides):
47 self.route = route
48 self.date = date
49 self.daytype = daytype
50 self.rides = rides
51
52def read_rides_as_instances(filename):
53 '''

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected