Ticket #175 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

embedsignatures discards existing cpdef docstrings

Reported by: jasone Owned by: jasone
Priority: minor Milestone: 0.11
Component: Code Generation Keywords:
Cc:

Description

The embedsignatures compiler directive causes method signatures to be prepended to docstrings, but it fails to preserve existing docstrings for cpdef methods. The attached patch fixes the problem.

Attachments

embedsignature.patch Download (3.6 KB) - added by jasone 4 years ago.
Fix embedsignature prepending for cpdef methods

Change History

Changed 4 years ago by dagss

One should also have a test case to check that this works for cpdef methods in classes.

Changed 4 years ago by jasone

Fix embedsignature prepending for cpdef methods

Changed 4 years ago by scoder

  • status changed from new to closed
  • resolution set to fixed

Changed 4 years ago by robertwb

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 4 years ago by robertwb

  • owner changed from somebody to jasone
  • status changed from reopened to new

Changed 4 years ago by robertwb

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.