Closed cclauss closed 5 years ago
Identity is not the same thing as equality in Python.
$ python
>>> layer_name = 'knn_' >>> layer_name += 'graph' >>> layer_name == 'knn_graph' True >>> layer_name is 'knn_graph' False
Identity is not the same thing as equality in Python.
$ python