Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
contract_wrappers.py: fix misplaced doc
Browse files Browse the repository at this point in the history
Previously, the routines `order_to_jsdict()` and `jsdict_to_order()`
were moved from contract_wrappers.exchange.types to
contract_wrappers.order_conversions.  However, the module-level
docstring describing those routines was accidentally left behind in
exchange.types.
  • Loading branch information
feuGeneA committed Nov 15, 2019
1 parent 7e91613 commit 8c3008c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
containing hashes of the tuple's field names, because the name of a Solidity
`struct`:code: isn't conveyed through the ABI. This module provides type
aliases with human-friendly names.
Converting between the JSON wire format and the types accepted by Web3.py (eg
`bytes` vs `str`) can be onerous. This module provides conveniences for
converting Exchange structs between JSON and Python objects.
"""

from enum import auto, Enum
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
"""Utilities to convert between JSON and Python-native objects."""
"""Utilities to convert between JSON and Python-native objects.
Converting between the JSON wire format and the types accepted by Web3.py (eg
`bytes` vs `str`) can be onerous. This module provides conveniences for
converting Exchange structs between JSON and Python objects.
"""

from copy import copy
from typing import cast, Dict, Union
Expand Down

0 comments on commit 8c3008c

Please sign in to comment.