Commit 603f6b6e authored by sblondon's avatar sblondon Committed by Michael Howitz

Fix variable name in code example

The variable is named `address` and is called `addr` in the following lines. This PR use `address` consistently.
parent e3517548
...@@ -171,17 +171,17 @@ storage. ...@@ -171,17 +171,17 @@ storage.
We can then create a ZEO client connection using the address We can then create a ZEO client connection using the address
returned:: returned::
connection = ZEO.connection(addr) connection = ZEO.connection(address)
This is a ZODB connection for a database opened on a client storage This is a ZODB connection for a database opened on a client storage
instance created on the fly. This is a shorthand for:: instance created on the fly. This is a shorthand for::
db = ZEO.DB(addr) db = ZEO.DB(address)
connection = db.open() connection = db.open()
Which is a short-hand for:: Which is a short-hand for::
client_storage = ZEO.client(addr) client_storage = ZEO.client(address)
import ZODB import ZODB
db = ZODB.db(client_storage) db = ZODB.db(client_storage)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment