Kaydet (Commit) 54044d60 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

class definitions only get argument lists (closes #27042)

üst bc7ee43a
......@@ -604,7 +604,7 @@ A class definition defines a class object (see section :ref:`types`):
.. productionlist::
classdef: [`decorators`] "class" `classname` [`inheritance`] ":" `suite`
inheritance: "(" [`parameter_list`] ")"
inheritance: "(" [`argument_list`] ")"
classname: `identifier`
A class definition is an executable statement. The inheritance list usually
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment