Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • possible duplicate of Python `if x is not None` or `if not x is None`? Commented Nov 12, 2014 at 9:22
  • It's not a duplicate of that, at all. Commented Nov 12, 2014 at 9:22
  • 1
    You have a typo in your post which @UriAgassi has decided to fix without knowing if it was broken or not, could you please check that the code as edited is what you actually have? Commented Nov 12, 2014 at 9:25