clear

Inventory.clear()[source]

Clear all elements in the inventory.