eric6/Utilities/binplistlib.py

changeset 7639
422fd05e9c91
parent 7360
9190402e4505
diff -r 176145438b1e -r 422fd05e9c91 eric6/Utilities/binplistlib.py
--- a/eric6/Utilities/binplistlib.py	Thu Jun 25 19:09:55 2020 +0200
+++ b/eric6/Utilities/binplistlib.py	Sat Jun 27 12:08:12 2020 +0200
@@ -54,7 +54,7 @@
 
 
 #
-# Ported from the Python 2 biplist.py script.
+# Ported from the biplist.py script.
 #
 # Original License:
 #
@@ -938,7 +938,6 @@
             output += proc_variable_length(0b0100, len(obj))
             output += obj
         elif isinstance(obj, str):
-            # Python 3 uses unicode strings only
             length = obj.encode('utf_16_be')
             output += proc_variable_length(0b0110, len(length) / 2)
             output += length

eric ide

mercurial