HomePhabricator

py3: use integer division in histedit

Authored by martinvonz.

Description

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

Details

Committed
martinvonzMar 25 2020, 2:31 AM
Differential Revision
D8324: py3: use integer division in histedit
Parents
rHGc13cbc3872c8: rust: update README to reflect use of `regex` crate
Branches
Unknown
Tags
Unknown