• @Jambalaya@lemmy.zip
      link
      fedilink
      English
      161 month 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
        link
        fedilink
        171 month 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
            link
            fedilink
            10
            edit-2
            1 month 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
              4
              edit-2
              1 month 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!
            link
            fedilink
            English
            81 month 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…