Mercurial > hg
diff i18n/check-translation.py @ 38226:7824783a6d5e
templater: add wrapped types for pure non-list/dict values
These wrapper types will allow us to get rid of some isinstance() business.
A bytes object needs to support sequence-like operations (e.g. join(),
ifcontains(), etc.) That's why we have two wrapper classes.
Tests will be added later.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 20 Mar 2018 23:56:26 +0900 |
parents | 078099304772 |
children | 19fc5a986669 |