Menu

Commit [r25388]  Maximize  Restore  History

Fix for the Periodic_table.lookup_symbol() method.

The __init__() method of the Periodic_table has been reintroduced to initialise a fast atomic symbol
lookup table. The _add() method then updates this table. And the lookup_symbol() method now uses
this lookup table to correctly return the symbol.

bugman 2014-08-28

changed /trunk/lib/periodic_table.py
/trunk/lib/periodic_table.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.