Commits

Jonathan Eunice committed 2feb063

doc fixes

  • Participants
  • Parent commits 9564137

Comments (0)

Files changed (2)

 
     from say import say, Say, stderr
     
-    warn = say.clone().setfiles(stderr)
-    err  = Say(files=[stderr, 'error.txt'])  # alternate constructor
-    
-    warn("This is a warning!")          # writes to stderr
+    err = say.clone().setfiles([stderr, 'error.txt'])
     err("Failed with error {errcode}")  # writes to stderr, error.txt
 
 Printing When You Like
 
 setup(
     name='say',
-    version=verno("0.306"),
+    version=verno("0.310"),
     author='Jonathan Eunice',
     author_email='jonathan.eunice@gmail.com',
     description='Simple formatted printing with templates. E.g.: say("Hello, {whoever}!")',