• Jambalaya@lemmy.zip
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 day ago

    Isn’t self not actually a keyword? Like you can name the first variable in a class method anything and it will behave like self.

    • Diplomjodler@lemmy.world
      link
      fedilink
      arrow-up
      17
      ·
      24 hours ago

      You could use “this” instead of “self”. And if you want a lynch mob of Python programmers outside your house, make a push request with that to some commonly used package.

        • Diplomjodler@lemmy.world
          link
          fedilink
          arrow-up
          10
          ·
          edit-2
          20 hours ago

          I’ve been wondering about the noise.

          Edit: turns out, they weren’t there to lynch me. They just gave me a two hour lecture on proper usage of git.

          • naught@sh.itjust.works
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            20 hours ago

            TECHNICALLY, there is no such thing as a pull request in git. That’s a Github convention. It’s really a merge request

            e: drat someone already out-pedantic’d me

        • lime!@feddit.nu
          link
          fedilink
          English
          arrow-up
          8
          ·
          22 hours ago

          only github users. git itself doesn’t have PRs, and other forges call them different things. gitlab calls them merge requests, pico calls them patch requests…