Commit Graph

14 Commits

Author SHA1 Message Date
Alec Delaney
24fb138311 Use shortcut "directive" for subset note 2022-05-03 14:56:12 -04:00
Alec Delaney
5bd8fa6842
Add link to CPython random module 2022-05-03 13:59:13 -04:00
Alec Delaney
3a5973084f
Add return type for 3-argument random.randrange() 2022-04-19 16:14:01 -04:00
Alec Delaney
9274e6a681 Fix signature of random.randrange() to show multiple signatures in stub 2022-04-19 14:13:38 -04:00
Rob Capellini
1c8828223f Convert more modules to use MP_REGISTER_MODULE
Convert neopixel_write, onewireio, ps2io, pulseio, pwmio, rainbowio, random, rgbmatrix, rotaryio, rtc, sdcardio, sharpdisplay, _stage, storage, struct, supervisor, synthio, touchio, traceback, usb_cdc, usb_hid, usb_midi, and vectorio modules to use MP_REGISTER_MODULE.

Related to #5183.
2021-08-30 22:29:51 -04:00
microDev
a52eb88031
run code formatting script 2021-03-15 19:27:36 +05:30
Taku Fukada
54a342a7f5 Add and correct some type hints 2020-07-24 18:20:03 +09:00
dherrada
97d405e109 Added type hints to random 2020-07-03 15:25:58 -04:00
Scott Shawcroft
4e8de3c554
Swap sphinx to autoapi and the inline stubs 2020-05-12 17:28:24 -07:00
dherrada
838b6c5685
Did ps2io, pulseio, random 2020-05-11 10:48:11 -04:00
albang
00c226738d
Typo in doc 2019-12-19 23:16:51 +01:00
Scott Shawcroft
933add6cd8
Support internationalisation. 2018-08-07 14:58:57 -07:00
Scott Shawcroft
20dd3b1e43 Delete a bunch of docs, drivers and examples not relevant to CircuitPython.
This fixes #345 and fixes #215.
2018-02-20 17:34:59 -08:00
Scott Shawcroft
a0058e6712 Introduce a random module that is a subset of CPython's random. It
also initializes in the same way where it takes from a true random
source when available through os.urandom(). After initializing, it
produces deterministic results until the seed is set.

This replaces urandom!

Fixes #139.
2017-06-27 17:37:24 -07:00