[Zope-CVS] CVS: ZODB - NEWS.txt:1.6

Tim Peters tim.one at comcast.net
Fri Apr 16 17:24:29 EDT 2004

Update of /cvs-repository/ZODB
In directory cvs.zope.org:/tmp/cvs-serv9132

Modified Files:
Log Message:
Small correction to example.

=== ZODB/NEWS.txt 1.5 => 1.6 ===
--- ZODB/NEWS.txt:1.5	Fri Apr 16 16:41:29 2004
+++ ZODB/NEWS.txt	Fri Apr 16 17:24:29 2004
@@ -18,7 +18,7 @@
 should now be written as
     >>> import transaction
-    >>> transaction.get()
+    >>> transaction.commit()
 The new API provides explicit transaction manager objects.  The
 transaction manager (TM) is responsible for associating resource
@@ -26,7 +26,7 @@
 `transaction.manager`.  The default TM, implemented by
 ThreadedTransactionManager, assigns each thread its own current
 transaction.  The TransactionManager class assigns all threads to the
-same transaction.  
+same transaction.
 A transaction manager instance can be passed as the txn_mgr argument
 to DB.open().  If you do, the connection will use the specified
@@ -46,7 +46,7 @@
 The TM creates Transaction objects, which are used for exactly one
 transaction.  They have a status() method that returns their current
 Resource managers, e.g. Connection or RDB adapter, should use join()
 instead of register().  An object that calls join() manages its own

More information about the Zope-CVS mailing list