Skip to content

Eeek! Bug in the show_all_tags.py code #52

Description

@PySimpleGUI

I just discovered that all of my PEP8 bindings that have an _ in them are not in the documentation.

This is because of this line of code that generates the code that goes into the .md file. Here is the version that works:

print('\n'.join([f"## {j[0]}\n\n<!-- <+{i[0]}.{j[0]}+> -->\n" for j in inspect.getmembers(i[1]) if not j[0].startswith('_')  ]))

It used to read:

    print('\n'.join([f"### {j[0]}\n\n<!-- <+{i[0]}.{j[0]}+> -->\n" for j in inspect.getmembers(i[1]) if '_' not in j[0]  ]))

Which filters out all of the methods that have an _ in them anywhere. DOH!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions