comparison setup_osutil_cffi.py @ 30115:8e42dfde93d1

templater: provide arithmetic operations on integers The termwidth template keyword is of limited use without some way to ensure that margins are respected. Provide a full set of arithmetic operators (four basic operations plus the mod function, defined to match Python's // for division), so that you can create termwidth based layouts that match the user's terminal size
author Simon Farnsworth <simonfar@fb.com>
date Sun, 09 Oct 2016 05:51:04 -0700
parents a043c6d372db
children
comparison
equal deleted inserted replaced
30114:ad43458d3529 30115:8e42dfde93d1