New submission from Leonardo De Marchi: The gammavariate function in random.py has a wrong comment.
It says that when alpha is one it's equivalent to call expovariate(1). We can see that is not true (see graphs) and it should be expovariate(1/beta). It's not a big deal but it can cause confusion. ---------- files: unnamed.png messages: 294403 nosy: leodema priority: normal severity: normal status: open title: gammavariate has a wrong comment Added file: http://bugs.python.org/file46895/unnamed.png _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30464> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com