← index #18735PR #3436
Off-topic · high · value 1.831
QUERY · ISSUE

py/builtinhelp: Add options for changing help('modules') format.

openby radiofanopened 2026-01-28updated 2026-01-28
enhancement

Description

Hello, MicoPython community.
We are porting MicroPython on our device. We recently ran into a problem. Width of screen of our device is so small. Default format of help('modules') is poorly displayed. We would like to be able to change it by NUM_COLUMNS and COLUMN_WIDTH.

https://github.com/micropython/micropython/pull/18734

Code Size

No response

Implementation

I intend to implement this feature and would submit a Pull Request if desirable

Code of Conduct

Yes, I agree

CANDIDATE · PULL REQUEST

ports/unix/mpconfigport.h: Enable "help" module by default.

closedby ccooper21opened 2017-11-13updated 2021-07-13
port-unix

The "help" module is disabled by default for the UNIX port, making it
difficult to explore the available modules (e.g. via the use of the
"help('modules')" call). This change enables it by default.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied