Skip to content

Commit

Permalink
Special case for no extension data
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Nov 14, 2016
1 parent d39d53d commit 76fe627
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ZODB/interfaces.py
Expand Up @@ -450,7 +450,10 @@ class IStorageTransactionMetaDataExtensionBytes(IStorageTransactionMetaData):
and ``description`` attributes are bytes, not text.
"""
extension_bytes = Attribute(
"A bytes carrying a transaction's serialized extended_info data")
"""A bytes carrying a transaction's serialized extended_info data
This will be an empty bytes if there are no extension data.
""")

class IStorage(Interface):
"""A storage is responsible for storing and retrieving data of objects.
Expand Down

0 comments on commit 76fe627

Please sign in to comment.