Removes print statement in `_generate_examples`
#4
by
malteos
- opened
- legal-mc4.py +1 -1
legal-mc4.py
CHANGED
@@ -120,7 +120,7 @@ class MC4Legal(datasets.GeneratorBasedBuilder):
|
|
120 |
# remove the Z at the end (time zone)
|
121 |
if isinstance(timestamp, str) and timestamp.endswith("Z"):
|
122 |
timestamp = timestamp[:-1]
|
123 |
-
|
124 |
yield id_, {
|
125 |
"url": example.get("url", ""),
|
126 |
"timestamp": timestamp,
|
|
|
120 |
# remove the Z at the end (time zone)
|
121 |
if isinstance(timestamp, str) and timestamp.endswith("Z"):
|
122 |
timestamp = timestamp[:-1]
|
123 |
+
|
124 |
yield id_, {
|
125 |
"url": example.get("url", ""),
|
126 |
"timestamp": timestamp,
|