0

I'm looking into the python imaplib library and starting testing things. I looked in the documentation and read that get_payload() is deprecated and you have to use get_body().
When I look at my object with dir() I have get_payload() but not get_body(). (I use python 3.9.5.)

Why does the documentation not match the object I get? Is there a good and up-to date introduction to imaplib?

Jacob Lee
  • 4,405
  • 2
  • 16
  • 37
Deus
  • 39
  • 1
  • 6

0 Answers0