C++, C, Python dictionaries updated