Fix code indentation in README
MODIFY
README.md
README.md
@@ -37,7 +37,6 @@ Reading
```python
-
import fastavro as avro
with open('weather.avro', 'rb') as fo:
@@ -46,13 +45,11 @@ Reading
for record in reader:
process_record(record)
-
```
You may also explicitly specify reader schema to perform schema validation:
```python
-
import fastavro as avro
schema = {
@@ -75,7 +72,6 @@ You may also explicitly specify reader schema to perform schema validation:
# incompatible schema
for record in reader:
process_record(record)
-
```
Writing
@@ -106,7 +102,6 @@ Writing
with open('weather.avro', 'wb') as out:
writer(out, schema, records)
-
```
You can also use the `fastavro` script from the command line to dump `avro`

Fix code indentation in README