[Python-Dev] Status of the Argument Clinic DSL
Alexander Belopolsky
alexander.belopolsky at gmail.com
Thu Aug 4 19:04:53 EDT 2016
On Thu, Aug 4, 2016 at 7:00 PM, Brett Cannon <brett at python.org> wrote:
>> >>> os.rename.__text_signature__
>> '($module, /, src, dst, *, src_dir_fd=None, dst_dir_fd=None)'
>>
>> ?
>>
>> What does the "$module, /," part mean?
>
>
> Don't remember what the $module means but the / means positional-only
> arguments.
Not in this case. Apparently the / applies to the $module thingy
because src and dst are not positional only (and the / would be after
them if they were, I think.)
More information about the Python-Dev
mailing list