Update the code to better reflect recommended style:
Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
diff --git a/Lib/Cookie.py b/Lib/Cookie.py
index 67259af..223e715 100644
--- a/Lib/Cookie.py
+++ b/Lib/Cookie.py
@@ -489,7 +489,7 @@
RA("%s=%s;" % (self.key, self.coded_value))
# Now add any defined attributes
- if attrs == None:
+ if attrs is None:
attrs = self._reserved_keys
for K,V in self.items():
if V == "": continue