Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix doc #2556

Merged
merged 2 commits into from
Sep 11, 2024
Merged

Fix doc #2556

merged 2 commits into from
Sep 11, 2024

Commits on Sep 10, 2024

  1. fix unexpected '__doc__' values

    some '__doc__' fields of standard library
       symbols (e.g. WrapperDescriptorType.__doc__) don't return a string,
       they return a 'getset_descriptor'. Thus, an attempt to print "as
       string" fails. The solution is to check that __doc__ is an instance
       of str.
    
    Note that it wasn't uncovered by the tests due to classes not being
       attached to their parent in some cases. This is be done in one of
       the subsequent commits.
    
    it's a part of the campaign to get rid of non-module roots
    temyurchenko committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    d18daec View commit details
    Browse the repository at this point in the history
  2. put the "temporary_class" for the metaclass hack into adhoc module

    it's a part of the campaign to get rid of non-module roots
    temyurchenko committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    188b5d9 View commit details
    Browse the repository at this point in the history