Can usually be available using CamelCased prefix, class members have the prefix 
stripped.

```python
import rpm
print(rpm.RPMBuild.CHECK | rpm.RPMBuild.CLEAN) # <RPMBuild.CLEAN|CHECK: 
24>
print(rpm.RPMBuild(24)) # <RPMBuild.CLEAN|CHECK: 24>
```
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1309

-- Commit Summary --

  * Improved python support: enums are now enums with all additional goodies. 
Can usually be available using CamelCased prefix, class members have the prefix 
stripped.

-- File Changes --

    M python/rpm/__init__.py (2)
    A python/rpm/rpmEnum.py (77)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1309.patch
https://github.com/rpm-software-management/rpm/pull/1309.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1309
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to