Commit f0373eac authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e231db01
...@@ -29,7 +29,7 @@ import ( ...@@ -29,7 +29,7 @@ import (
// PyData represent data stored into ZODB by Python applications. // PyData represent data stored into ZODB by Python applications.
// //
// The format is based on python pickles. Basically every sirialized object has // The format is based on python pickles. Basically every serialized object has
// two parts: class description and object state. See // two parts: class description and object state. See
// //
// https://github.com/zopefoundation/ZODB/blob/a89485c1/src/ZODB/serialize.py // https://github.com/zopefoundation/ZODB/blob/a89485c1/src/ZODB/serialize.py
...@@ -37,8 +37,8 @@ import ( ...@@ -37,8 +37,8 @@ import (
// for format description. // for format description.
type PyData []byte type PyData []byte
// ClassString returns fully-qualified python class name used for object type // ClassString returns fully-qualified python class name used for object type.
// The format is "module.class" // The format is "module.class".
// If pickle decoding fails "?.?" is returned. // If pickle decoding fails "?.?" is returned.
// TODO tests // TODO tests
func (d PyData) ClassString() string { func (d PyData) ClassString() string {
......
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