None gets linked as if it were a function.

Bug #1138975 reported by Tom Prince on 2013-03-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

Michael Hudson-Doyle (mwhudson) wrote :

Hah yes. All non-exception builtins get linked like that -- I wonder how many there are, perhaps they can all be special cased? Or perhaps I can put an "if callable" in somewhere.

Is there a good thing for L{None} to actually link to?

Thijs Triemstra (collab) wrote :

Sometimes in Twisted it's linked to the NoneType instead:

Michael Hudson-Doyle (mwhudson) wrote :

Ah, there is Special case coming up!

Michael Hudson-Doyle (mwhudson) wrote :

Actually a check for callable neatly weeds out the constants

Changed in pydoctor:
status: New → Fix Committed
Michael Hudson-Doyle (mwhudson) wrote :

So, fixed. I still think writing L{None} is silly :)

Changed in pydoctor:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers