We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffb93a3 commit 21f9aa8Copy full SHA for 21f9aa8
compiler/pyassem.py
@@ -446,7 +446,7 @@ def convertArgs(self):
446
# (Other types of code objects deal with docstrings in different
447
# manner, e.g. lambdas and comprehensions don't have docstrings,
448
# classes store them as __doc__ attribute.
449
- if not self.name.startswith("<") and not self.klass:
+ if self.name == "<lambda>" or (not self.name.startswith("<") and not self.klass):
450
self.consts.insert(0, self.docstring)
451
self.sort_cellvars()
452
for i in range(len(self.insts)):
0 commit comments