8000 Rename uhashlib->hashlib, improve python3 compatibility by jepler · Pull Request #806 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

Rename uhashlib->hashlib, improve python3 compatibility #806

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 7, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
docs: fix references to uhashlib
  • Loading branch information
jepler committed May 6, 2018
commit 2955ada22f5d12a7b4cb9c1881ad71bb7bfe1fa4
10 changes: 5 additions & 5 deletions docs/library/uhashlib.rst → docs/library/hashlib.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
:mod:`uhashlib` -- hashing algorithms
:mod:`hashlib` -- hashing algorithms
=====================================

.. include:: ../templates/unsupported_in_circuitpython.inc

.. module:: uhashlib
.. module:: hashlib
:synopsis: hashing algorithms

|see_cpython_module| :mod:`cpython:hashlib`.
Expand All @@ -29,15 +29,15 @@ be implemented:
Constructors
------------

.. class:: uhashlib.sha256([data])
.. class:: hashlib.sha256([data])
8000
Create an SHA256 hasher object and optionally feed ``data`` into it.

.. class:: uhashlib.sha1([data])
.. class:: hashlib.sha1([data])

Create an SHA1 hasher object and optionally feed ``data`` into it.

.. class:: uhashlib.md5([data])
.. class:: hashlib.md5([data])

Create an MD5 hasher object and optionally feed ``data`` into it.

Expand Down
2 changes: 1 addition & 1 deletion docs/library/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Python standard libraries and micro-libraries
binascii.rst
ucollections.rst
uerrno.rst
uhashlib.rst
hashlib.rst
uheapq.rst
uio.rst
ujson.rst
Expand Down
1 change: 1 addition & 0 deletions shared-bindings/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Module Supported Ports
`busio` **All Supported**
`digitalio` **All Supported**
`gamepad` **SAMD Express, nRF**
`hashlib` **ESP8266**
`math` **All Supported**
`microcontroller` **All Supported**
`multiterminal` **ESP8266**
Expand Down
0