mirror of
https://github.com/donnemartin/system-design-primer.git
synced 2025-12-15 01:18:57 +03:00
FIx a syntax error caused by a missing comma
```
./solutions/system_design/sales_rank/sales_rank_mapreduce.py:12:27: E999 SyntaxError: invalid syntax
def mapper(self, _ line):
^
```
This commit is contained in:
@@ -9,7 +9,7 @@ class SalesRanker(MRJob):
|
||||
"""Return True if timestamp is within past week, False otherwise."""
|
||||
...
|
||||
|
||||
def mapper(self, _ line):
|
||||
def mapper(self, _, line):
|
||||
"""Parse each log line, extract and transform relevant lines.
|
||||
|
||||
Emit key value pairs of the form:
|
||||
|
||||
Reference in New Issue
Block a user