From 1ab7e1cb2f3a3e0bbd52683da8a47fd6ee325bd5 Mon Sep 17 00:00:00 2001 From: Rouven Bauer Date: Tue, 2 Mar 2021 10:19:41 +0100 Subject: [PATCH] Remove unnecessary and deprecated escaping of "*"; fixes #492 --- neo4j/work/simple.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neo4j/work/simple.py b/neo4j/work/simple.py index ef1e6d8c..0ee46e7b 100644 --- a/neo4j/work/simple.py +++ b/neo4j/work/simple.py @@ -370,7 +370,7 @@ def get_two_tx(tx): with driver.session() as session: values = session.read_transaction(get_two_tx) - :param transaction_function: a function that takes a transaction as an argument and does work with the transaction. `tx_function(tx, \*args, \*\*kwargs)` + :param transaction_function: a function that takes a transaction as an argument and does work with the transaction. `tx_function(tx, *args, **kwargs)` :param args: arguments for the `transaction_function` :param kwargs: key word arguments for the `transaction_function` :return: a result as returned by the given unit of work @@ -395,7 +395,7 @@ def create_node_tx(tx, name): node_id = session.write_transaction(create_node_tx, "example") - :param transaction_function: a function that takes a transaction as an argument and does work with the transaction. `tx_function(tx, \*args, \*\*kwargs)` + :param transaction_function: a function that takes a transaction as an argument and does work with the transaction. `tx_function(tx, *args, **kwargs)` :param args: key word arguments for the `transaction_function` :param kwargs: key word arguments for the `transaction_function` :return: a result as returned by the given unit of work