zopefoundation / transaction

Generic transaction implementation for Python.
Other
70 stars 31 forks source link

Fix documentation of args parameter #93

Closed icemac closed 4 years ago

icemac commented 4 years ago

From the documentation I got the wrong impression that the the hooks adder methods would take arguments as in *args. But this is not the case as internally tuple(args) is called. This works for strings of length 1 as expected but it is an edge case which should not be stressed in the documentation.

icemac commented 4 years ago

Thank you.

mgedmin commented 4 years ago

Augh thank you thank you thank you thank you for fixing this footgun!