Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Give TryteString a thesaurus #133

Merged
merged 2 commits into from
Jan 6, 2018

Conversation

todofixthis
Copy link
Contributor

Fixes #90

  • Rename TryteString.from_string to from_unicode.
  • Rename TryteString.as_bytes to encode.
  • Rename TryteString.as_string to decode.
  • Add deprecated versions of the renamed functions.

- `TryteString.from_string` is now `from_unicode`.
- `TryteString.as_string` is now `decode`.
- `TryteString.as_bytes` is now `encode`.
- Original methods are still available, but deprecated.
@todofixthis todofixthis merged commit 63b2010 into develop Jan 6, 2018
@todofixthis todofixthis deleted the feature/90-TryteString_needs_a_thesaurus branch January 6, 2018 04:13
marko-k0 pushed a commit to marko-k0/iota.lib.py that referenced this pull request Jul 28, 2018
…ing_needs_a_thesaurus

Give TryteString a thesaurus
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant