mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
The usual... Sigh...
This commit is contained in:
parent
6592f88fc0
commit
b8cc6ae5a1
10 changed files with 34 additions and 14 deletions
|
@ -64,11 +64,11 @@ class Para:
|
|||
for i in range(len(self.words)):
|
||||
word = self.words[i]
|
||||
if type(word) == Int: continue
|
||||
fo, te, wi, sp, st, as, de = word
|
||||
self.words[i] = fo, te, wi, sp, 0, as, de
|
||||
(fo, te, wi, sp, st, as, de) = word
|
||||
self.words[i] = (fo, te, wi, sp, 0, as, de)
|
||||
total = total + wi + sp
|
||||
if total < tab:
|
||||
self.words.append(None, '', 0, tab-total, 0, as, de)
|
||||
self.words.append((None, '', 0, tab-total, 0, as, de))
|
||||
#
|
||||
# Make a hanging tag: tab to hang, increment indent_left by hang,
|
||||
# and reset indent_hang to -hang
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue