parent
901130bbcf
commit
7d1eb38af1
5 changed files with 49 additions and 17 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue