```
#!/usr/bin/env python

def modify_dict():

    d['two'] = 2

d = {'one':1}

modify_dict()

print d

```

I get

```
$ ./globaltest.py 
{'two': 2, 'one': 1}

```

I was hoping to see only `{'one':1}` since d is not declared global within the function. Why did d get both key-value pairs ?