discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is PMT_NIL a Valid Dictionary?


From: Jeff S
Subject: Is PMT_NIL a Valid Dictionary?
Date: Thu, 30 Jun 2022 10:53:00 +0000

GNU Radio Version:  v3.9.6.0-23-ge3506b13

 

I was writing a QA test and decided to try,

 

self.assertTrue(pmt.is_dict(pmt.PMT_NIL))

 

and it passes.  I was just wondering if pmt.PMT_NIL is considered a valid dictionary object, as opposed to,

 

my_dict = pmt.make_dict()

self.assertTrue(pmt.is_dict(my_dict))

 

Just trying to get a better understanding and couldn’t find an answer.

 

Regards,

Jeff


reply via email to

[Prev in Thread] Current Thread [Next in Thread]