Lichen

Changeset

846:8b470b16d26d
2018-07-10 Paul Boddie raw files shortlog changelog graph Updated the commentary about the method supporting sequence unpacking. tuple-optimisations
lib/__builtins__/sequence.py (file)
     1.1 --- a/lib/__builtins__/sequence.py	Mon Jul 09 17:32:35 2018 +0200
     1.2 +++ b/lib/__builtins__/sequence.py	Tue Jul 10 13:28:53 2018 +0200
     1.3 @@ -262,10 +262,13 @@
     1.4      def __get_single_item_unchecked__(self, index):
     1.5  
     1.6          """
     1.7 -        NOTE: Should restrict this to internal translator use.
     1.8 -        NOTE: This also uses implementation-specific access.
     1.9 +        This method is provided by a privileged attribute recorded in the common
    1.10 +        module in the toolchain. Normal programs should not be able to access
    1.11 +        it.
    1.12          """
    1.13  
    1.14 +        # NOTE: This uses implementation-specific access.
    1.15 +
    1.16          return list_element(self.__data__, index)
    1.17  
    1.18  def _get_absolute_index(index, length):