class Now:
    def Foo(self):
        def Bar(self):
            return 'grid1'
        pool[##|'project'##|] = 10

##r

class Now:
    def Foo(self):
        def Bar(self):
            return 'grid1'
        extracted_variable = 'project'
        pool[extracted_variable] = 10
