Skip to main content
7 events
when toggle format what by license comment
Jun 10, 2020 at 13:24 history edited CommunityBot
Commonmark migration
Jun 4, 2018 at 1:24 comment added user168710 This might go beyond the scope of the question, but is using isinstance() justified when validating constructor parameters? If I didn't, you could pass a string when the constructor expects a list and the code would break.
Jun 4, 2018 at 1:07 comment added Stephen Rauch The original post, stated it was only about Main. It was the next day when I realized I some time to comment on the other code. Seemed like a different post... Cheers.
Jun 4, 2018 at 1:02 comment added user168710 I gave you the checkmark, but why didn't you just edit your original post?
Jun 4, 2018 at 1:02 vote accept CommunityBot
Jun 3, 2018 at 21:13 comment added Graipher Also, if all the property does is returning the value of an internal attribute it is not actually needed (you can always make it a property later if you want to add caching or something like that)
Jun 3, 2018 at 17:48 history answered Stephen Rauch CC BY-SA 4.0