From 38cb37874ff0753f96e63ac0240f7cf78af00542 Mon Sep 17 00:00:00 2001 From: Georg Haas Date: Fri, 3 Mar 2017 15:13:01 +0100 Subject: [PATCH 1/2] tutorial006: s/sys.agv/sys.argv --- doc/source/tutorial/tutorial006.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/tutorial/tutorial006.rst b/doc/source/tutorial/tutorial006.rst index 7e81561..c32f3b3 100644 --- a/doc/source/tutorial/tutorial006.rst +++ b/doc/source/tutorial/tutorial006.rst @@ -36,7 +36,7 @@ And creating an instance:: In addition to the other command line options that are typically included in BACpypes applications, this can be wrapped:: - if '--console' in sys.agv: + if '--console' in sys.argv: ConsoleCmd() Command Recall From c1cd1ee82c222a6b297896ea7907c348a713d160 Mon Sep 17 00:00:00 2001 From: Georg Haas Date: Wed, 8 Mar 2017 16:27:00 +0100 Subject: [PATCH 2/2] doc: fix format --- doc/source/tutorial/capability.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/tutorial/capability.rst b/doc/source/tutorial/capability.rst index af5a943..bd33fb0 100644 --- a/doc/source/tutorial/capability.rst +++ b/doc/source/tutorial/capability.rst @@ -81,7 +81,7 @@ And the new class works as intended:: >>> some_transformer.transform(10) 100 -And the classes can be mixed in together: +And the classes can be mixed in together:: class ExampleThree(BaseCollector, PlusOne, TimesTen): pass