2
0
mirror of https://github.com/boostorg/python.git synced 2026-02-02 09:02:15 +00:00

enum export

[SVN r16604]
This commit is contained in:
Dave Abrahams
2002-12-13 20:04:34 +00:00
parent eab084c9a2
commit 4a5817d8ba
7 changed files with 39 additions and 1 deletions

View File

@@ -20,6 +20,17 @@ enum_ext.color.green
enum_ext.color(3)
>>> identity(color(4))
enum_ext.color.blue
--- check export to scope ---
>>> identity(red)
enum_ext.color.red
>>> identity(green)
enum_ext.color.green
>>> identity(blue)
enum_ext.color.blue
>>> try: identity(1)