Skip to content

Commit f1c3637

Browse files
committed
API docs: fix formatting
1 parent 1a46575 commit f1c3637

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/source/api.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Closing a driver will immediately shut down all connections in the pool.
198198

199199

200200
def example(driver: neo4j.Driver) -> List[str]:
201-
\"""Get the name of all 42 year-olds.\"""
201+
"""Get the name of all 42 year-olds."""
202202
records, summary, keys = driver.execute_query(
203203
"MATCH (p:Person {age: $age}) RETURN p.name",
204204
{"age": 42},
@@ -217,7 +217,7 @@ Closing a driver will immediately shut down all connections in the pool.
217217

218218

219219
def example(driver: neo4j.Driver) -> int:
220-
\"""Call all young people "My dear" and get their count.\"""
220+
"""Call all young people "My dear" and get their count."""
221221
record = driver.execute_query(
222222
"MATCH (p:Person) WHERE p.age <= $age "
223223
"SET p.nickname = 'My dear' "

docs/source/async_api.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Closing a driver will immediately shut down all connections in the pool.
181181

182182

183183
async def example(driver: neo4j.AsyncDriver) -> List[str]:
184-
\"""Get the name of all 42 year-olds.\"""
184+
"""Get the name of all 42 year-olds."""
185185
records, summary, keys = await driver.execute_query(
186186
"MATCH (p:Person {age: $age}) RETURN p.name",
187187
{"age": 42},
@@ -200,7 +200,7 @@ Closing a driver will immediately shut down all connections in the pool.
200200

201201

202202
async def example(driver: neo4j.AsyncDriver) -> int:
203-
\"""Call all young people "My dear" and get their count.\"""
203+
"""Call all young people "My dear" and get their count."""
204204
record = await driver.execute_query(
205205
"MATCH (p:Person) WHERE p.age <= 15 "
206206
"SET p.nickname = 'My dear' "

0 commit comments

Comments
 (0)