Skip to content

Commit 69d482e

Browse files
committed
remove coding: utf-8 and __future__ statements from examples
1 parent 303ee65 commit 69d482e

8 files changed

Lines changed: 0 additions & 17 deletions

File tree

examples/cyclic.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python
2-
# coding: utf-8
32

43
"""
54
This example exercises the periodic sending capabilities.
@@ -10,8 +9,6 @@
109
1110
"""
1211

13-
from __future__ import print_function
14-
1512
import logging
1613
import time
1714

examples/cyclic_multiple.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python
2-
# coding: utf-8
32

43
"""
54
This example exercises the periodic task's multiple message sending capabilities
@@ -10,8 +9,6 @@
109
1110
"""
1211

13-
from __future__ import print_function
14-
1512
import logging
1613
import time
1714

examples/receive_all.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/usr/bin/env python
22

3-
from __future__ import print_function
4-
53
import can
64
from can.bus import BusState
75

examples/send_one.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
#!/usr/bin/env python
2-
# coding: utf-8
32

43
"""
54
This example shows how sending a single message works.
65
"""
76

8-
from __future__ import print_function
9-
107
import can
118

129

examples/serial_com.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python
2-
# coding: utf-8
32

43
"""
54
This example sends every second a messages over the serial interface and also
@@ -19,8 +18,6 @@
1918
com0com: http://com0com.sourceforge.net/
2019
"""
2120

22-
from __future__ import print_function
23-
2421
import time
2522
import threading
2623

examples/simple_log_converter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python
2-
# coding: utf-8
32

43
"""
54
Use this to convert .can/.asc files to .log files.

examples/vcan_filtered.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python
2-
# coding: utf-8
32

43
"""
54
This shows how message filtering works.

examples/virtual_can_demo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python
2-
# coding: utf-8
32

43
"""
54
This demo creates multiple processes of producers to spam a socketcan bus.

0 commit comments

Comments
 (0)