About 6,260,000 results
Open links in new tab
  1. What is the purpose of the `self` parameter? Why is it needed?

    For a language-agnostic consideration of the design decision, see What is the advantage of having this/self pointer mandatory explicit?. To close debugging questions where OP omitted a …

  2. SSL: CERTIFICATE_VERIFY_FAILED certificate verify failed : self …

    Jun 29, 2023 · 3 Getting certificate issues like that (self signed certificate in chain) from such a public website smells like you're behind a corporate proxy. Is that the case? You can simply …

  3. oop - What do __init__ and self do in Python? - Stack Overflow

    Jul 8, 2017 · In this case, there are some benefits to allowing this: 1) Methods are just functions that happen defined in a class, and need to be callable either as bound methods with implicit …

  4. node.js - NPM self_signed_cert_in_chain - Stack Overflow

    NPM self_signed_cert_in_chain Asked 9 years, 10 months ago Modified 4 months ago Viewed 205k times

  5. python - Missing 1 required positional argument - Stack Overflow

    31 This question already has answers here: Why do I get "TypeError: Missing 1 required positional argument: 'self'"? (10 answers)

  6. Difference between _self, _top, and _parent in the anchor tag …

    Aug 27, 2013 · I know _blank opens a new tab when used with the anchor tag and also, there are self-defined targets I use when using framesets but I will like to know the difference between …

  7. How to bypass certificate errors using Microsoft Edge

    Jul 2, 2020 · To allow a self-signed certificate to be used by Microsoft-Edge it is necessary to use the "certmgr.msc" tool from the command line to import the certificate as a Trusted Certificate …

  8. When to use self, &self, &mut self in methods? - Stack Overflow

    Nov 24, 2019 · Say I want to implement a method that pretty prints the struct to stdout, should I take &self? I guess self also works? As you can see, this is exactly a case for &self. If you use …

  9. git - SSL certificate problem: self signed certificate in certificate ...

    Aug 2, 2019 · The reason was an SSL certificate problem: 'self-signed certificate in certificate chain.'" Protected question. To answer this question, you need to have at least 10 reputation …

  10. Difference between 'cls' and 'self' in Python classes?

    Why is cls sometimes used instead of self as an argument in Python classes? For example: class Person: def __init__(self, firstname, lastname): self.firstname = firstname self.