Skip to content

Commit 639a43b

Browse files
committed
add some doc links in comment
1 parent 50a29de commit 639a43b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

unpythonic/misc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,8 @@ def rename(f):
510510
co = f.__code__
511511
# https://github.com/ipython/ipython/blob/master/IPython/core/interactiveshell.py
512512
# https://www.python.org/dev/peps/pep-0570/
513+
# https://docs.python.org/3/library/types.html#types.CodeType
514+
# https://docs.python.org/3/library/inspect.html#types-and-members
513515
if version_info > (3, 8, 0, 'alpha', 3): # Python 3.8+
514516
f.__code__ = CodeType(co.co_argcount, co.co_posonlyargcount, co.co_kwonlyargcount,
515517
co.co_nlocals, co.co_stacksize, co.co_flags,

0 commit comments

Comments
 (0)