Mercurial > hg
diff README.rst @ 44601:d06e748cfd02
py3: use integer division in histedit
Histedit uses the `/` operator, which does type conversion to float in
Python 3 instead of integer division likeon Python 2. Let's preserve
the Python 2 behavior by importing and using the `//` operator.
Differential Revision: https://phab.mercurial-scm.org/D8324
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 24 Mar 2020 23:31:36 -0700 |
parents | 1b59287a1cfa |
children | c5912e35d06d |