I wish there was something better than this kludge but afaik there’s not: Is there a way to determine whether code is toplevel? - #3 by marius311
              
              
              1 Like
            
            
          I wish there was something better than this kludge but afaik there’s not: Is there a way to determine whether code is toplevel? - #3 by marius311