Skip to content

Commit

Permalink
lidatong#305: Added note for DecodableGenericABC might not working fo…
Browse files Browse the repository at this point in the history
…r Python3.6
  • Loading branch information
USSX-Hares committed Sep 29, 2021
1 parent 61e078c commit 09f46ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,8 @@ print(C.from_json('''{"a": null, "b": null}'''))


### Encode/decode my own generic classes?
*This might not work on Python 3.6 properly.*

Your generic classes should inherit the `DecodableGenericABC` class and
have `__encode__` and `__decode__` methods implemented.

Expand Down

0 comments on commit 09f46ba

Please sign in to comment.