Skip to content

Commit a99f0ee

Browse files
committed
Update comments
1 parent 5d25dd3 commit a99f0ee

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

unpythonic/arity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def f(a):
380380

381381
# https://docs.python.org/3/reference/compound_stmts.html#function-definitions
382382
# https://docs.python.org/3/reference/expressions.html#calls
383-
unassigned = object() # gensym("unassigned"), but object() is much faster and we don't need the label.
383+
unassigned = object() # gensym("unassigned"), but object() is much faster, and we don't need a label, or pickle support.
384384
slots = [unassigned for _ in range(len(params))] # yes, varparams too
385385

386386
# fill from positional arguments

unpythonic/ec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def inner():
264264
Similar usage is valid for named functions, too.
265265
"""
266266
# Create a process-wide unique id to tag the ec:
267-
anchor = object() # gensym("anchor"), but object() is much faster and we don't need the label.
267+
anchor = object() # gensym("anchor"), but object() is much faster, and we don't need a label, or pickle support.
268268
uid = id(anchor)
269269
# Closure property important here. "ec" itself lives as long as someone
270270
# retains a reference to it. It's a first-class value; the callee could

unpythonic/llist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def __eq__(self, other):
251251
if isinstance(other, cons):
252252
try: # duck test linked lists
253253
ia, ib = (LinkedListIterator(x) for x in (self, other))
254-
fill = object() # gensym("fill"), but object() is much faster and we don't need the label.
254+
fill = object() # gensym("fill"), but object() is much faster, and we don't need a label, or pickle support.
255255
for a, b in zip_longest(ia, ib, fillvalue=fill):
256256
if a != b:
257257
return False

0 commit comments

Comments
 (0)