Skip to content

Commit 76dae0f

Browse files
committed
still playing with readme
1 parent 205587c commit 76dae0f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Usage examples
2424
Constructing a connection string from scratch:
2525

2626
.. code:: python
27+
2728
>>> from pyconstring import ConnectionString
2829
>>> cs = ConnectionString()
2930
>>> cs['user'] = 'manuel'
@@ -34,6 +35,7 @@ Constructing a connection string from scratch:
3435
Parsing an already existing string:
3536

3637
.. code:: python
38+
3739
>>> cs = ConnectionString.from_string('key1=value1;key2=value2;')
3840
>>> cs['key1'] = 'another value'
3941
>>> cs.get_string()
@@ -45,6 +47,7 @@ Parsing an already existing string:
4547
Automated escaping when necessary:
4648

4749
.. code:: python
50+
4851
>>> cs = ConnectionString()
4952
>>> cs['weird=key'] = '" weird;value '
5053
>>> print cs.get_string()
@@ -53,6 +56,7 @@ Automated escaping when necessary:
5356
Key translation:
5457

5558
.. code:: python
59+
5660
>>> cs['key'] = 'value'
5761
>>> cs.translate({'key': 'clave'})
5862
>>> print cs.get_string()

0 commit comments

Comments
 (0)