Skip to content

Commit 5b9b9fe

Browse files
davesquepipermerriam
authored andcommitted
Remove last occurrences of apostrophe docstrings (#1720)
1 parent 6657dfe commit 5b9b9fe

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

eth/db/chain.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,11 @@ def _set_as_canonical_chain_head(cls,
221221
def persist_block(self,
222222
block: 'BaseBlock'
223223
) -> Tuple[Tuple[Hash32, ...], Tuple[Hash32, ...]]:
224-
'''
224+
"""
225225
Persist the given block's header and uncles.
226226
227227
Assumes all block transactions have been persisted already.
228-
'''
228+
"""
229229
with self.db.atomic_batch() as db:
230230
return self._persist_block(db, block)
231231

@@ -397,9 +397,9 @@ def get_transaction_index(self, transaction_hash: Hash32) -> Tuple[BlockNumber,
397397

398398
@staticmethod
399399
def _get_block_transaction_data(db: BaseDB, transaction_root: Hash32) -> Iterable[Hash32]:
400-
'''
400+
"""
401401
Returns iterable of the encoded transactions for the given block header
402-
'''
402+
"""
403403
transaction_db = HexaryTrie(db, root_hash=transaction_root)
404404
for transaction_idx in itertools.count():
405405
transaction_key = rlp.encode(transaction_idx)

eth/tools/fixtures/helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@ def apply_fixture_block_to_chain(
210210
block_fixture: Dict[str, Any],
211211
chain: BaseChain,
212212
perform_validation: bool=True) -> Tuple[BaseBlock, BaseBlock, BaseBlock]:
213-
'''
213+
"""
214214
:return: (premined_block, mined_block, rlp_encoded_mined_block)
215-
'''
215+
"""
216216
# The block to import may be in a different block-class-range than the
217217
# chain's current one, so we use the block number specified in the
218218
# fixture to look up the correct block class.

0 commit comments

Comments
 (0)