News for hackers. Stuff that matters.
Re:Why Hy? by gilch on Wednesday May 04, 2022 @06:22PM (#31266628)
Here's another way to do it:

  >>> def foo():
  ...     import __main__
  ...     a = __main__.a
  ...     print(a)
  ...
  >>> foo()
  1

There are no comments on this comment yet.