Module Import alias Import alias TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad decorator_list AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad Call AttributeLoad NameLoad attr attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Num For NameStore NameLoad body If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num orelse Assign NameStore NameLoad Assign NameStore NameLoad If CompareEq NameLoad Str body Assign NameStore BinOpSub Call NameLoad NameLoad Num If CompareLt NameLoad Num body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore NameLoad orelse Raise Call NameLoad BinOpMod Str TupleLoad NameLoad For TupleStore NameStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad body If NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Continue orelse Expr Call AttributeLoad NameLoad attr If NameLoad body AugAssignSub NameStore Num Continue Return NameLoad orelse Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Str Print NameLoad
N/A N/A serial N/A serial.tools.list_ports N/A N/A N/A basestring N/A N/A N/A NameError N/A N/A basestring str Serial N/A N/A serial Serial N/A N/A Just inherit the native Serial port implementation and patch the port property. port N/A N/A self value N/A N/A N/A translate port name before storing it N/A N/A N/A isinstance value basestring N/A N/A value startswith hwgrep:// N/A N/A N/A N/A N/A N/A serial Serial port __set__ self N/A N/A self from_url value N/A N/A N/A N/A N/A N/A serial Serial port __set__ self value N/A N/A N/A N/A serial Serial port setter from_url N/A N/A self url N/A N/A N/A extract host and port from an URL string N/A N/A N/A N/A N/A url lower startswith hwgrep:// N/A N/A url N/A url N/A 9 N/A n 0 N/A test_open False N/A args N/A N/A url split & N/A regexp N/A N/A args pop 0 N/A arg args N/A N/A N/A = arg N/A N/A N/A option value N/A N/A arg split = 1 N/A N/A option arg N/A value None N/A N/A option n N/A N/A n N/A N/A int value 1 N/A N/A n 1 N/A N/A N/A ValueError N/A option "n" expects a positive integer larger than 1: %r N/A value N/A N/A N/A option skip_busy N/A N/A test_open True N/A N/A N/A ValueError N/A unknown option: %r N/A option N/A N/A port desc hwid N/A sorted N/A N/A N/A N/A serial tools list_ports grep regexp N/A N/A test_open N/A N/A N/A N/A s N/A N/A serial Serial port N/A N/A N/A N/A serial SerialException N/A N/A N/A N/A N/A N/A s close N/A n N/A N/A n 1 N/A N/A port N/A N/A N/A N/A serial SerialException N/A no ports found matching regexp %r N/A url N/A N/A N/A N/A __name__ __main__ N/A N/A s N/A Serial None N/A N/A s port hwgrep://ttyS0 N/A s