Changeset 5944 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 14 Apr 2011, 16:47:33 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/university
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/university/course.py
r5005 r5944 14 14 title=u'Unnamed Course', 15 15 code=u'NA', 16 level=None,17 16 credits=0, 18 17 passmark=40, … … 21 20 self.title = title 22 21 self.code = code 23 self.level = level24 22 self.credits = credits 25 23 self.passmark = passmark -
main/waeup.sirp/trunk/src/waeup/sirp/university/course.txt
r5140 r5944 15 15 --------------- 16 16 17 .. class:: Course([code=u'NA'[, title=u'Unnamed Course'[, level=None[,credits=0[, passmark=40[, semester=1]]]]]])17 .. class:: Course([code=u'NA'[, title=u'Unnamed Course'[, credits=0[, passmark=40[, semester=1]]]]]]) 18 18 19 19 Create a course instance with the given parameters. … … 81 81 0 82 82 83 .. attribute:: level84 85 Courses can have a level. This attribute is not required and the86 default value is ``None``:87 88 >>> mycourse.level is None89 True90 83 91 84 -
main/waeup.sirp/trunk/src/waeup/sirp/university/interfaces.py
r5051 r5944 109 109 ) 110 110 111 level = schema.TextLine(112 title = u'Level',113 default = u'100',114 required = False,115 )116 117 111 credits = schema.Int( 118 112 title = u'Credits',
Note: See TracChangeset for help on using the changeset viewer.