• T. Hex@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    Well duh. I wonder what happens if you shadow the list constructor and try to use it as a type hint…

    def foo(list: list):
      def bar(thingies: list):
        pass