Package pymata_aio :: Module pymata_core
[hide private]
[frames] | no frames]

Module pymata_core

source code

Copyright (c) 2015 Alan Yorinks All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Classes [hide private]
  PymataCore
This class exposes and implements the pymata_core asyncio API, It includes the public API methods as well as a set of private methods.
Functions [hide private]
 
_signal_handler(the_signal, frame)
The 'Control-C' handler
source code
Function Details [hide private]

_signal_handler(the_signal, frame)

source code 

The 'Control-C' handler

Parameters:
  • the_signal - signal
  • frame - not used
Returns:
never returns.