From 47aee5c13dc97968f9a4a690168631478657db47 Mon Sep 17 00:00:00 2001 From: Stephen Diehl Date: Sat, 3 Mar 2012 13:06:16 -0500 Subject: [PATCH] I spellz good. --- zipline/protocol.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zipline/protocol.py b/zipline/protocol.py index 39d6deed..38b75e36 100644 --- a/zipline/protocol.py +++ b/zipline/protocol.py @@ -10,7 +10,7 @@ Notes Msgpack ------- -Msgpack is the fastest seriaization protocol in Python at the +Msgpack is the fastest serialization protocol in Python at the moment. Its 100% C is typically orders of magnitude faster than json and pickle making it awesome for ZeroMQ. @@ -70,15 +70,15 @@ as well as being indexable and iterable:: 'REP' : b'\x02', }) - HEARTBEAT_PROTOCOL.REQ # syntatic sugar + HEARTBEAT_PROTOCOL.REQ # syntactic sugar HEARTBEAT_PROTOCOL.REP # oh suga suga HEARTBEAT_PROTOCOL['REQ'] # classic dictionary index -Nmaedtuple +Namedtuple ---------- -From the standard library, namedtuples are great for specifing +From the standard library, namedtuples are great for specifying containers for spec'ing data container objects:: from collections import namedtuple