From 724c102259d13fca9b3f52703ab8470d91a9e9e4 Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 22 Feb 2016 00:23:20 -0500 Subject: [PATCH] [fix][ci skip] Python example, then C --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e97187b5..a3a607af 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,15 @@ in the address correct). Usage (parser) -------------- -Here's a C example of the parser API: +Here's an example of the parser API using the Python bindings: + +```python + +from postal.parser import parse_address +parse_address('The Book Club 100-106 Leonard St Shoreditch London EC2A 4RH, United Kingdom') +``` + +And an example with the C API: ```c #include @@ -146,14 +154,6 @@ int main(int argc, char **argv) { } ``` -And the equivalent using the Python bindings: - -```python - -from postal.parser import parse_address -parse_address('The Book Club 100-106 Leonard St Shoreditch London EC2A 4RH, United Kingdom') -``` - Installation ------------