New submission from keyboardAnt :
Executing the following code* raise a NameError**. Is it on purpose?
Attached minimal example to reproduce.
class C:
val = C.sm()
@staticmethod
def sm():
return 'val'
*With Python 3.8.2, on MacOS.
**"Nam
Change by keyboardAnt :
Removed file: https://bugs.python.org/file49042/example.py
___
Python tracker
<https://bugs.python.org/issue40224>
___
___
Python-bugs-list mailin
Change by keyboardAnt :
--
components: -macOS
title: Execute a @staticmethod (Python 3.8.2) -> delete_me
versions: -Python 3.8
___
Python tracker
<https://bugs.python.org/issu