astropy/astropy — pull request #464 by astrofrog (2012-11-07 08:09:29+00:00)
Title: Fix astropy.config docs

The config docs incorrectly referred to ``get_config_items`` which I think should be ``get_config``. There is one remaining issue, in that:

```
>>> items['DATAURL'].set('http://astropydata.mywebsite.com')
>>> items['REMOTE_TIMEOUT'].set('4.5')
```

does not work, because the keys are lowercase in ``items`` but uppercase in the docs. There are four solutions:

1. explain in the docs that when using ``items``, the keys need to be the same case as the file

2. always convert the keys to uppercase

3. make the dictionary case-insensitive

@eteq - what do you think? I guess 2. would be more consistent with the rest of the behavior (though it essentially amounts to 3. since the case gets lost).