Add format types j, l, q for outtmpl

Closes #345
This commit is contained in:
pukkandan
2021-07-29 08:26:17 +05:30
parent 901130bbcf
commit 7d1eb38af1
5 changed files with 49 additions and 17 deletions

View File

@@ -4451,8 +4451,10 @@ STR_FORMAT_RE_TMPL = r'''(?x)
)
'''
STR_FORMAT_TYPES = 'diouxXeEfFgGcrs'
def limit_length(s, length):
""" Add ellipses to overly long strings """
if s is None: