From 1d09476a61acd84322013e2205447cda1915e7d2 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 28 Sep 2023 09:46:46 +0200 Subject: [PATCH] small fix for deque example --- docs/examples.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples.rst b/docs/examples.rst index 5096026..e4c884f 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -56,7 +56,7 @@ small file transfer. .. testcode:: cfdp - from typing import Deque + from collections import deque from spacepackets.cfdp.conf import ByteFieldU8 from spacepackets.cfdp.defs import ChecksumType, TransmissionMode from spacepackets.cfdp.pdu import ( @@ -72,7 +72,7 @@ small file transfer. LOCAL_ID = ByteFieldU8(1) REMOTE_ID = ByteFieldU8(2) - file_transfer_queue = Deque() + file_transfer_queue = deque() src_name = "/tmp/src-file.txt" dest_name = "/tmp/dest-file.txt" file_data = "Hello World!"