mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Fix co.co_varnames to include vararg names
This commit is contained in:
@@ -435,6 +435,8 @@ impl CodeObject {
|
||||
.iter()
|
||||
.map(String::as_str)
|
||||
.chain(self.kwonlyarg_names.iter().map(String::as_str))
|
||||
.chain(self.varargs_name.as_deref())
|
||||
.chain(self.varkeywords_name.as_deref())
|
||||
.chain(
|
||||
self.instructions
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user