[Checkins] [zopefoundation/transaction] 10cc23: Fix documentation of args parameter

Michael Howitz noreply at github.com
Tue Feb 25 13:38:47 CET 2020


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/transaction
  Commit: 10cc231c656f59d10a0f0887ac1171257c0cc5c5
      https://github.com/zopefoundation/transaction/commit/10cc231c656f59d10a0f0887ac1171257c0cc5c5
  Author: Michael Howitz <mh at gocept.com>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

  Changed paths:
    M docs/hooks.rst

  Log Message:
  -----------
  Fix documentation of args parameter

>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.




More information about the checkins mailing list