Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Curing Python's Neglect.
a=[] dir(a) 'append', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort'
help(a.remove) remove(...) L.remove(value) -- remove first occurrence of value
help(a.pop) pop(...) L.pop([index]) -> item -- remove and return item at index (default last)
append(...) L.append(object) -- append object to end
insert(...) L.insert(index, object) -- insert object before index
There are no comments on this comment yet.
a=[] dir(a) 'append', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort'
help(a.remove) remove(...) L.remove(value) -- remove first occurrence of value
help(a.pop) pop(...) L.pop([index]) -> item -- remove and return item at index (default last)
append(...) L.append(object) -- append object to end
insert(...) L.insert(index, object) -- insert object before index