You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug rich.inspect(pygments_solarized.dark256) incorrectly shows a class as a function (SolarizedDark256Style = def SolarizedDark256Style()).
This might be intended behavior when inspect()ing modules, but it's unexpected that methods=True would cause classes to be shown. I might even be so bold as to say when expecting a module, that classes and methods should be displayed by default, but I understand if the current behavior is preferred.
To Reproduce
$ pip3 install -U --user pygments_solarized
The class is declared as:
class SolarizedDark256Style(Style):
""" Dark 256-color version solarized theme (http://ethanschoonover.com/solarized). """
...
Describe the bug
rich.inspect(pygments_solarized.dark256)
incorrectly shows a class as a function (SolarizedDark256Style = def SolarizedDark256Style()
).This might be intended behavior when
inspect()
ing modules, but it's unexpected thatmethods=True
would cause classes to be shown. I might even be so bold as to say when expecting a module, that classes and methods should be displayed by default, but I understand if the current behavior is preferred.To Reproduce
The class is declared as:
Note that
SolarizedDark256Style
is not shown.However, it is shown when specifying
methods=True
.Platform
Mac
iTerm
Diagnose
I may ask you to cut and paste the output of the following commands. It may save some time if you do it now.
The text was updated successfully, but these errors were encountered: