Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
56edf3a4
Commit
56edf3a4
authored
Dec 25, 2018
by
Raymond Hettinger
Committed by
GitHub
Dec 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Redo PR 785 -- Add cross reference links (GH-11319)
parent
b6af23eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Doc/library/binascii.rst
Doc/library/binascii.rst
+5
-0
No files found.
Doc/library/binascii.rst
View file @
56edf3a4
...
...
@@ -152,6 +152,8 @@ The :mod:`binascii` module defines the following functions:
*data* is converted into the corresponding 2-digit hex representation. The
returned bytes object is therefore twice as long as the length of *data*.
Similar functionality (but returning a text string) is also conveniently
accessible using the :meth:`bytes.hex` method.
.. function:: a2b_hex(hexstr)
unhexlify(hexstr)
...
...
@@ -161,6 +163,9 @@ The :mod:`binascii` module defines the following functions:
of hexadecimal digits (which can be upper or lower case), otherwise an
:exc:`Error` exception is raised.
Similar functionality (accepting only text string arguments, but more
liberal towards whitespace) is also accessible using the
:meth:`bytes.fromhex` class method.
.. exception:: Error
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment