Skip to content

Commit 9bf4ee4

Browse files
committed
- Fixed error handling of decode() method in case of decode failure.
- Added Python method documentation to readme.
1 parent 55c8adc commit 9bf4ee4

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,26 +52,30 @@ will have to update the include directory in setup.py
5252

5353
Get both the Python and C repositories using:
5454

55-
```git clone https://github.com/mapcode-foundation/mapcode-python
55+
```
56+
git clone https://github.com/mapcode-foundation/mapcode-python
5657
git clone https://github.com/mapcode-foundation/mapcode-cpp
5758
cd mapcode-python
5859
```
5960

6061
Compile the package in current directory using:
6162

62-
```python setup.py --inplace
63+
```
64+
python setup.py --inplace
6365
```
6466

6567
Install in your Python environment using:
6668

67-
```python setup.py install
69+
```
70+
python setup.py install
6871
```
6972

7073

7174
# Usage
7275

7376

74-
```import mapcode
77+
```python
78+
import mapcode
7579

7680
dir (mapcode)
7781

0 commit comments

Comments
 (0)