Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-matt-hillsdon committed May 28, 2024
1 parent 9ee4699 commit f7f9379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/documentation/api/ApiNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ const buildSignature = (
};

const isInitOrOtherNonDunderMethod = (c: ApiDocsEntry) =>
!c.name.endsWith("__") || c.name === "__init__";
!c.name.endsWith("__") || c.name === "__init__" || c.name === "__new__";

const filterChildren = (
children: ApiDocsEntry[] | undefined
Expand Down
2 changes: 1 addition & 1 deletion src/micropython/main/typeshed.en.json

Large diffs are not rendered by default.

0 comments on commit f7f9379

Please sign in to comment.