From: Brian Warner Date: Thu, 1 Nov 2007 22:33:47 +0000 (-0700) Subject: trailing-whitespace eradication, no functional changes X-Git-Tag: allmydata-tahoe-0.7.0~312 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/vdrive?a=commitdiff_plain;h=516ce89a1e3ba230d3c52a77a6b811451bd878bf;p=tahoe-lafs%2Ftahoe-lafs.git trailing-whitespace eradication, no functional changes --- diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py index cc857493..ec3e7a94 100644 --- a/src/allmydata/interfaces.py +++ b/src/allmydata/interfaces.py @@ -705,7 +705,7 @@ class ICodecEncoder(Interface): """ def encode(inshares, desired_share_ids=None): - """Encode some data. This may be called multiple times. Each call is + """Encode some data. This may be called multiple times. Each call is independent. inshares is a sequence of length required_shares, containing buffers @@ -748,9 +748,9 @@ class ICodecEncoder(Interface): integer, exactly as passed into 'desired_share_ids' (or range(max_shares), if desired_share_ids was not provided). - The shares and their corresponding shareids are required to be kept - together during storage and retrieval. Specifically, the share data is - useless by itself: the decoder needs to be told which share is which + The shares and their corresponding shareids are required to be kept + together during storage and retrieval. Specifically, the share data is + useless by itself: the decoder needs to be told which share is which by providing it with both the shareid and the actual share data. This function will allocate an amount of memory roughly equal to::