File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ def help(self, *args):
112112
113113 variables = []
114114 print ("\n Methods:" )
115- for aliases , item in self .construct_locals ():
115+ for aliases , item in sorted ( self .construct_locals () ):
116116 name = ", " .join (aliases )
117117 if item .__doc__ and callable (item ):
118118 print (f"* { name } " )
@@ -125,8 +125,7 @@ def help(self, *args):
125125 print (f" { var } " )
126126
127127 def construct_locals (self ) -> List [Tuple [List [str ], Any ]]:
128- """Returns a dictionary listing the functions to be added to the
129- environment."""
128+ """Returns a listing of the functions to be added to the environment."""
130129 return [
131130 (["dt" , "display_type" ], self .display_type ),
132131 (["db" , "display_bytes" ], self .display_bytes ),
You can’t perform that action at this time.
0 commit comments