Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
testing value type
#1
what is the reason we should do isinstance(foo,str) instead of type(foo) is str or type(foo) == str?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
testing value type - by Skaperen - Jan-23-2021, 01:13 AM
RE: testing value type - by snippsat - Jan-23-2021, 03:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  testing value type 2 Skaperen 2 1,945 Jan-24-2021, 08:44 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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