data domains(owner, ip) # list
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
The example is in Serpent.
data domains(owner, ip) def register(addr): if not self.domains[addr].owner: self.domains[addr].owner = msg.sender
The keyword data declares a variable with persistant storage. In the example it is declaring an array of tupples, each tupple has two members owner and ip.
For more info check the A Programmer's Guide to Ethereum and Serpent.