Add a "prefix" keyword parameter to slot_dict_class() which controls the
authorZac Medico <zmedico@gentoo.org>
Tue, 1 Jul 2008 10:11:10 +0000 (10:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 1 Jul 2008 10:11:10 +0000 (10:11 -0000)
commit3ab46b943befdd480b24c3d459555011dd04e120
tree193103aecbe731acbd022d2f11be38fb9bf8afbb
parent43833b58736bef2565250f3965a22ab747ba6d0b
Add a "prefix" keyword parameter to slot_dict_class() which controls the
prefix used when mapping attribute names from keys. Use this to change
the syntax from files["foo"] to files.foo (it's fewer characters to look
at).

svn path=/main/trunk/; revision=10869
pym/_emerge/__init__.py
pym/portage/cache/mappings.py