Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
strange string
#4
Skaperen Wrote:i expect attribute __doc__ to be a str already.
I agree, if it is not a str, it looks like a flaw in the design of this botocore module. Try isinstance(doc_str, str) and also inspect.getmro(type(doc_str)) for more information.
Reply


Messages In This Thread
strange string - by Skaperen - Apr-19-2019, 08:22 PM
RE: strange string - by Gribouillis - Apr-20-2019, 07:56 AM
RE: strange string - by Skaperen - Apr-21-2019, 12:57 AM
RE: strange string - by Gribouillis - Apr-21-2019, 04:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Strange Characters in JSON returned string fioranosnake 4 5,330 Dec-02-2019, 07:25 PM
Last Post: fioranosnake
  Strange behaviour while splitting string? naknak12 2 2,631 Feb-18-2019, 01:57 PM
Last Post: naknak12

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020