Skip to content

Commit 36f57f3

Browse files
committed
Authors, copyright, and formatting
1 parent eda1eaf commit 36f57f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/sage/misc/sagedoc_conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
44
AUTHORS:
55
6-
- Matthias Koeppe (2022): initial version
6+
- Matthias Koeppe, Kwankyu Lee (2022): initial version
77
- Vincent Macri (2025-09-01): process_docstring_aliases
88
"""
99

1010
# ****************************************************************************
1111
# Copyright (C) 2022 Matthias Koeppe <[email protected]>
12+
# 2022 Kwankyu Lee <[email protected]>
1213
# 2025 Vincent Macri <[email protected]>
1314
#
1415
# This program is free software: you can redistribute it and/or modify
@@ -61,7 +62,7 @@ def process_docstring_aliases(app, what, name, obj, options, docstringlines):
6162
docstringlines[:] = [f'alias of :meth:`{original_name}`.']
6263
return
6364

64-
# elif what == 'function'
65+
# We now have `what == 'function'`
6566

6667
if original_name != '<lambda>':
6768
docstringlines[:] = [f'alias of :func:`{original_name}`.']
@@ -70,6 +71,7 @@ def process_docstring_aliases(app, what, name, obj, options, docstringlines):
7071
# If original_name == '<lambda>' then the function is
7172
# a lambda expression, hence not an alias of something
7273
# with its own docstring.
74+
return
7375

7476

7577
def process_directives(app, what, name, obj, options, docstringlines):

0 commit comments

Comments
 (0)