Skip to content

Commit 59e1b42

Browse files
authored
Remove unnecessary and deprecated escaping of "*"; fixes #492 (#510)
1 parent 615363e commit 59e1b42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo4j/work/simple.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def get_two_tx(tx):
370370
with driver.session() as session:
371371
values = session.read_transaction(get_two_tx)
372372
373-
:param transaction_function: a function that takes a transaction as an argument and does work with the transaction. `tx_function(tx, \*args, \*\*kwargs)`
373+
:param transaction_function: a function that takes a transaction as an argument and does work with the transaction. `tx_function(tx, *args, **kwargs)`
374374
:param args: arguments for the `transaction_function`
375375
:param kwargs: key word arguments for the `transaction_function`
376376
:return: a result as returned by the given unit of work
@@ -395,7 +395,7 @@ def create_node_tx(tx, name):
395395
node_id = session.write_transaction(create_node_tx, "example")
396396
397397
398-
:param transaction_function: a function that takes a transaction as an argument and does work with the transaction. `tx_function(tx, \*args, \*\*kwargs)`
398+
:param transaction_function: a function that takes a transaction as an argument and does work with the transaction. `tx_function(tx, *args, **kwargs)`
399399
:param args: key word arguments for the `transaction_function`
400400
:param kwargs: key word arguments for the `transaction_function`
401401
:return: a result as returned by the given unit of work

0 commit comments

Comments
 (0)