================
@@ -10,26 +10,36 @@ output = os.path.join(clang_www_dir, 'cxx_dr_status.html')
 dr_test_dir = os.path.join(clang_www_dir, '../test/CXX/drs')
 
 class DR:
-  def __init__(self, section, issue, url, status, title):
-    self.section, self.issue, self.url, self.status, self.title = \
-        section, issue, url, status, title
+  def __init__(self, *, section_number, section_name, section_link, number, 
url, status, liaison, title):
----------------
Endilll wrote:

It was suggested in 
https://github.com/llvm/llvm-project/pull/165749#discussion_r2479783152, and I 
agree that with this many parameters, it's error-prone to make them positional.

https://github.com/llvm/llvm-project/pull/165749
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to