Logo
Explore Help
Register Sign In
exercism/python
1
0
Fork 0
You've already forked python
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
c5d9d9c0b3c808c1cb6f1968e7f9a096ec64dfb4
python/exercises/practice/linked-list/linked_list.py

9 lines
145 B
Python
Raw Normal View History

remove Python2 class declaration syntax
2019-11-07 08:58:16 -05:00
class Node:
linked-list: Don't redefine builting function 'next' (#1413) It hurts readability to redefine the meaning of well-known builtins such as 'next', and pylint rightfully warns about this, saying W: 2,30: Redefining built-in 'next' (redefined-builtin) It's a little unfortunate that Python grabs this part of the namespace, but let's fix the issue by using slightly different words for 'the item before' and the 'the item next'.
2018-06-28 14:54:42 +02:00
def __init__(self, value, succeeding=None, previous=None):
Add skeleton files for exercises (#415) closes #272
2017-03-12 15:13:28 +01:00
pass
Merged master fixed conflict.
2016-10-28 12:54:30 +02:00
remove Python2 class declaration syntax
2019-11-07 08:58:16 -05:00
class LinkedList:
Merged master fixed conflict.
2016-10-28 12:54:30 +02:00
def __init__(self):
linked-list: Remove reference to deque
2017-01-28 01:10:32 +00:00
pass
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 132ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API