On 02/26/2013 03:26 PM, Greg Ewing wrote: > Ethan Furman wrote: >> In the first three examples the data in quotes is the doc string; in examples >> 4 and 5 the RHS is the actual value assigned. > > What if you want to assign both values and docstrings? Let the bike shedding begin, eh? ;) It could be as simple as name = (0, 'customers full legal name') or as complex as name = enum(value=0, doc="customer's full legal name", xyz='some other attribute') -- ~Ethan~
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4