Skip to content

Commit f7f9379

Browse files
Tweaks
1 parent 9ee4699 commit f7f9379

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/documentation/api/ApiNode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ const buildSignature = (
296296
};
297297

298298
const isInitOrOtherNonDunderMethod = (c: ApiDocsEntry) =>
299-
!c.name.endsWith("__") || c.name === "__init__";
299+
!c.name.endsWith("__") || c.name === "__init__" || c.name === "__new__";
300300

301301
const filterChildren = (
302302
children: ApiDocsEntry[] | undefined

src/micropython/main/typeshed.en.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)