Description: Fix for Syntax Warning
 Replace 'is not comparison with an integer literal (0)' with '!= 0'.
Forwarded: not-needed
Author: Yogeswaran Umasankar <yogu@debian.org>
Last-Update: 2024-11-10

--- a/pubchempy.py
+++ b/pubchempy.py
@@ -560,7 +560,7 @@ class Atom(object):
         for coord in {'x', 'y', 'z'}:
             if getattr(self, coord) is not None:
                 data[coord] = getattr(self, coord)
-        if self.charge is not 0:
+        if self.charge != 0:
             data['charge'] = self.charge
         return data
 
