Bump version and update changelog for 1.1

Includes some last minute changes too
This commit is contained in:
Dave Jones
2016-02-08 15:25:17 +00:00
parent 6f99d616e1
commit b4a8273472
5 changed files with 59 additions and 18 deletions

View File

@@ -204,7 +204,7 @@ class Pin(object):
""")
def _get_edges(self):
return 'both'
return 'none'
def _set_edges(self, value):
raise PinEdgeDetectUnsupported("Edge detection is not supported on pin %r" % self)
@@ -215,7 +215,7 @@ class Pin(object):
doc="""\
The edge that will trigger execution of the function or bound method
assigned to :attr:`when_changed`. This can be one of the strings
"both" (the default), "rising", or "falling".
"both" (the default), "rising", "falling", or "none".
If the pin does not support edge detection, attempts to set this
property will raise :exc:`PinEdgeDetectUnsupported`.