Gender-neutralizing line with "Mrs", which is a problematic title

See http://cognoscenti.wbur.org/2014/09/30/gender-politics-feminism-ms-miss-mrs-amy-carleton
as a light introduction to this.
This commit is contained in:
Christopher Allan Webber 2014-12-22 11:01:32 -06:00
parent c51e44d564
commit 96c591ff9d

View File

@ -112,8 +112,8 @@ def builds(_type):
really_ok = ["-"] really_ok = ["-"]
if any(x in unpythonic_chars for x in str_type(_type)): if any(x in unpythonic_chars for x in str_type(_type)):
if _type not in really_ok: if _type not in really_ok:
raise TypeError("`build' needs to be *post* translated strings, " raise TypeError("Dear Hypster: `build' needs to be *post* "
"Mr. / Mrs. Hypser. -- `%s' sucks." % (_type)) "translated strings... `%s' sucks." % (_type))
def _dec(fn): def _dec(fn):
_compile_table[_type] = fn _compile_table[_type] = fn