diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/fmt.py | 2 | ||||
-rw-r--r-- | Lib/lib-old/fmt.py | 2 | ||||
-rw-r--r-- | Lib/mutex.py | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -335,7 +335,7 @@ closechar = \ {'b':'*', 'i':'_', 'u':'_', 'q':'\'', 'B':'*', 'I':'_', 'U':'_', 'Q':'\''} def finalize(para): oldfont = curfont = 'r' - para.words.append('r', '', 0, 0, 0, 0) # temporary, deleted at end + para.words.append(('r', '', 0, 0, 0, 0)) # temporary, deleted at end for i in range(len(para.words)): fo, te, wi = para.words[i][:3] if fo <> None: curfont = fo diff --git a/Lib/lib-old/fmt.py b/Lib/lib-old/fmt.py index 4a655e4..f7c2718 100644 --- a/Lib/lib-old/fmt.py +++ b/Lib/lib-old/fmt.py @@ -335,7 +335,7 @@ closechar = \ {'b':'*', 'i':'_', 'u':'_', 'q':'\'', 'B':'*', 'I':'_', 'U':'_', 'Q':'\''} def finalize(para): oldfont = curfont = 'r' - para.words.append('r', '', 0, 0, 0, 0) # temporary, deleted at end + para.words.append(('r', '', 0, 0, 0, 0)) # temporary, deleted at end for i in range(len(para.words)): fo, te, wi = para.words[i][:3] if fo <> None: curfont = fo diff --git a/Lib/mutex.py b/Lib/mutex.py index b897863..33509c7 100644 --- a/Lib/mutex.py +++ b/Lib/mutex.py @@ -43,7 +43,7 @@ class mutex: if self.testandset(): function(argument) else: - self.queue.append(function, argument) + self.queue.append((function, argument)) # # Unlock a mutex. If the queue is not empty, call the next # function with its argument. |