From bcf3c8bf17caad7a2f46ee69f1d9563d884c2f23 Mon Sep 17 00:00:00 2001
From: Paul Sokolovsky <pfalcon@users.sourceforge.net>
Date: Sun, 9 Apr 2017 00:06:54 +0300
Subject: [PATCH] docs/library/builtins: int: Add notice on byteorder param for
 to/from_bytes.

---
 docs/library/builtins.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/library/builtins.rst b/docs/library/builtins.rst
index d53c4d377b..46f762660a 100644
--- a/docs/library/builtins.rst
+++ b/docs/library/builtins.rst
@@ -67,6 +67,16 @@ All builtin functions are described here. They are also available via
 
 .. class:: int()
 
+   .. classmethod:: from_bytes(bytes, byteorder)
+
+      In MicroPython, `byteorder` parameter must be positional (this is
+      compatible with CPython).
+
+   .. method:: to_bytes(size, byteorder)
+
+      In MicroPython, `byteorder` parameter must be positional (this is
+      compatible with CPython).
+
 .. function:: isinstance()
 
 .. function:: issubclass()