1
0
Fork 0
flightgear/scripts/python
Scott Giese 431844138b python compatibility: make __ne__ explicit.
python3 has a default implementation for __ne__ when __eq__ is defined.  The opposite is not true -- having only __ne__ does not have a default __eq__ implementation.
Also note that there are cases when eq/ne will both be True or both False, therefore, developers are encouraged to explicitly define these methods in pairs.
2020-10-01 23:06:37 -05:00
..
TerraSync python compatibility: make __ne__ explicit. 2020-10-01 23:06:37 -05:00
demo.py Migrate FGFSDemo.py, FlightGear.py, demo.py and nasal_api_doc.py to Python 3 2020-08-05 14:01:57 +02:00
FGFSDemo.py Migrate FGFSDemo.py, FlightGear.py, demo.py and nasal_api_doc.py to Python 3 2020-08-05 14:01:57 +02:00
FlightGear.py Python: best practices 2020-08-29 12:07:15 -05:00
nasal_api_doc.py python: use a with-statement to manage file close 2020-10-01 22:51:31 -05:00