Skip to content
#

cpython

Here are 119 public repositories matching this topic...

circuitpython
kattni
kattni commented Apr 13, 2021

As it is, with the Neo Trinkey specifically, the non-status NeoPixels remain lit up if they were lit up from code in code.py when you enter the REPL. The status LED changes to indicate that you have entered the REPL. So, for example, if you had all four LEDs turned red in your code, and then entered the REPL, three would remain red, and one would turn white. This confused me as I moved onto someth

Technologicat
Technologicat commented Aug 20, 2019

We currently identify a set of arguments (for caching purposes), passed in as *args and **kwargs, using the following k as the key to a cache dictionary:

from operator import itemgetter
k = (args, tuple(sorted(kwargs.items(), key=itemgetter(0))))

(This functionality is only relevant for pure functions. Assume also that all relevant data is hashable.)

However, consid

Improve this page

Add a description, image, and links to the cpython topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the cpython topic, visit your repo's landing page and select "manage topics."

Learn more