From 2823168c4687d90c369978dedcbb764a91cc96b6 Mon Sep 17 00:00:00 2001
From: Fred Drake <fdrake@acm.org>
Date: Tue, 31 Dec 1996 20:50:51 +0000
Subject: (formatter.py):  Add a flush() method to the writer interface.  This
 really 	needs to be a standard part of the interface, so we'll have it
 in 	for the next release.

---
 Lib/formatter.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Lib/formatter.py b/Lib/formatter.py
index 507ed8a..25dbe73 100644
--- a/Lib/formatter.py
+++ b/Lib/formatter.py
@@ -265,9 +265,9 @@ class AbstractFormatter:
 
 
 class NullWriter:
-    """Minimal writer interface to use in testing.
-    """
+    """Minimal writer interface to use in testing & inheritance."""
     def __init__(self): pass
+    def flush(self): pass
     def new_alignment(self, align): pass
     def new_font(self, font): pass
     def new_margin(self, margin, level): pass
-- 
cgit v0.12

