Title: bug: Category called "Function" instead of "Method" within a class. · Issue #330 · mkdocstrings/python · GitHub
Open Graph Title: bug: Category called "Function" instead of "Method" within a class. · Issue #330 · mkdocstrings/python
X Title: bug: Category called "Function" instead of "Method" within a class. · Issue #330 · mkdocstrings/python
Description: Description of the bug group_by_category within a class groups methods as "Functions" so when used with show_category_heading the headings become "Functions" instead of "Methods" as they should be. To Reproduce ``` git clone https://gith...
Open Graph Description: Description of the bug group_by_category within a class groups methods as "Functions" so when used with show_category_heading the headings become "Functions" instead of "Methods" as they should be....
X Description: Description of the bug group_by_category within a class groups methods as "Functions" so when used with show_category_heading the headings become "Functions" instead of "Me...
Opengraph URL: https://github.com/mkdocstrings/python/issues/330
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: Category called \"Function\" instead of \"Method\" within a class.","articleBody":"### Description of the bug\n`group_by_category` within a class groups methods as \"Functions\" so when used with `show_category_heading` the headings become \"Functions\" instead of \"Methods\" as they should be.\n\n### To Reproduce\n ```\n git clone https://github.com/easyscience/imaging-lib/tree/documentation\n cd imaging-lib\n pixi install\n pixi docs-serve\n ```\n \n### Expected behavior\nI expect the group headings to be called \"Methods\" instead of \"Functions\" when the group exists within a class.\n","author":{"url":"https://github.com/damskii9992","@type":"Person","name":"damskii9992"},"datePublished":"2026-06-02T13:48:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/330/python/issues/330"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cfad1f23-f57c-186a-52a7-8d2f0ad6b743 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 849E:BF093:806C15:B659D6:6A6317E5 |
| html-safe-nonce | 04483b82f404718d0444308c5dfa57e6a8243ce1eea6659d9445dc61ad7279b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDlFOkJGMDkzOjgwNkMxNTpCNjU5RDY6NkE2MzE3RTUiLCJ2aXNpdG9yX2lkIjoiNzM1NDIxNjQ0MDUxNzU2NDM4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 98e880bbff9ae6307a07deddc0cde3721a8a43ce12524148c34af43b8c9c1ac4 |
| hovercard-subject-tag | issue:4595233434 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/mkdocstrings/python/330/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3b23644f9d2be448dd3c1c24e67998d2818e678a983dbcfd2121f3d850d40e39/mkdocstrings/python/issues/330 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3b23644f9d2be448dd3c1c24e67998d2818e678a983dbcfd2121f3d850d40e39/mkdocstrings/python/issues/330 |
| og:image:alt | Description of the bug group_by_category within a class groups methods as "Functions" so when used with show_category_heading the headings become "Functions" instead of "Methods" as they should be.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | damskii9992 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1a6c056e02f174fffc096c521ec0ff6fb83e40a2ec8cb8875466ec1524872dd6 |
| turbo-cache-control | no-preview |
| go-import | github.com/mkdocstrings/python git https://github.com/mkdocstrings/python.git |
| octolytics-dimension-user_id | 75664361 |
| octolytics-dimension-user_login | mkdocstrings |
| octolytics-dimension-repository_id | 422878404 |
| octolytics-dimension-repository_nwo | mkdocstrings/python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 422878404 |
| octolytics-dimension-repository_network_root_nwo | mkdocstrings/python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6a93e25585f487ddff9e3996c06d5b869d6e1828 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width