Did I find the right examples for you? yes no

All Samples(16)  |  Call(8)  |  Derive(0)  |  Import(8)
Doubly linked list.

Attributes:
    map (dict): A mapping of values to nodes.
    head (:class:`LinkedListNode`): The first node.
    tail (:class:`LinkedListNode`): The last node.

src/w/p/wpull-0.33.2/py2src_noedit/wpull/cache.py   wpull(Download)
import time
 
from wpull.collections import LinkedList
 
 
    def __init__(self, max_items=None, time_to_live=None):
        super().__init__(max_items=max_items, time_to_live=time_to_live)
        self._seq = LinkedList()
 
    def __getitem__(self, key):

src/w/p/wpull-HEAD/py2src_noedit/wpull/cache.py   wpull(Download)
import time
 
from wpull.collections import LinkedList
 
 
    def __init__(self, max_items=None, time_to_live=None):
        super().__init__(max_items=max_items, time_to_live=time_to_live)
        self._seq = LinkedList()
 
    def __getitem__(self, key):

src/w/p/wpull-0.33.2/wpull/cache.py   wpull(Download)
import time
 
from wpull.collections import LinkedList
 
 
    def __init__(self, max_items=None, time_to_live=None):
        super().__init__(max_items=max_items, time_to_live=time_to_live)
        self._seq = LinkedList()
 
    def __getitem__(self, key):

src/w/p/wpull-HEAD/wpull/cache.py   wpull(Download)
import time
 
from wpull.collections import LinkedList
 
 
    def __init__(self, max_items=None, time_to_live=None):
        super().__init__(max_items=max_items, time_to_live=time_to_live)
        self._seq = LinkedList()
 
    def __getitem__(self, key):

src/w/p/wpull-HEAD/wpull/collections_test.py   wpull(Download)
# encoding=utf-8
 
from wpull.backport.testing import unittest
from wpull.collections import LinkedList, OrderedDefaultDict
 
    def test_linked_list(self):
        linked_list = LinkedList()
 
        for dummy in range(2):
            self.assertEqual(0, len(linked_list))

src/w/p/wpull-HEAD/py2src_noedit/wpull/collections_test.py   wpull(Download)
# encoding=utf-8
 
from wpull.backport.testing import unittest
from wpull.collections import LinkedList, OrderedDefaultDict
 
    def test_linked_list(self):
        linked_list = LinkedList()
 
        for dummy in range(2):
            self.assertEqual(0, len(linked_list))

src/w/p/wpull-0.33.2/wpull/collections_test.py   wpull(Download)
# encoding=utf-8
 
from wpull.backport.testing import unittest
from wpull.collections import LinkedList, OrderedDefaultDict
 
    def test_linked_list(self):
        linked_list = LinkedList()
 
        for dummy in range(2):
            self.assertEqual(0, len(linked_list))

src/w/p/wpull-0.33.2/py2src_noedit/wpull/collections_test.py   wpull(Download)
# encoding=utf-8
 
from wpull.backport.testing import unittest
from wpull.collections import LinkedList, OrderedDefaultDict
 
    def test_linked_list(self):
        linked_list = LinkedList()
 
        for dummy in range(2):
            self.assertEqual(0, len(linked_list))