Skip to content

Conversation

mkoeppe
Copy link
Contributor

@mkoeppe mkoeppe commented May 18, 2024

Also a small improvement in the script src/bin/sage-fixdoctests that helped in preparing the PR.

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

⌛ Dependencies

Copy link

github-actions bot commented May 18, 2024

Documentation preview for this PR (built with commit ceebb70; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

Matthias Koeppe added 7 commits May 18, 2024 20:06
…Curve|DivisorGroup|SchemeHomset';SUFFIX='_generic'" "CLASS='Berkovich|Berkovich_Cp|AlgebraicScheme|AmbientSpace|Scheme|AffineScheme';SUFFIX=" "CLASS='ProjectiveSpace|ProductProjectiveSpaces';SUFFIX='_ring'" "CLASS='ToricVariety|CPRFanoToricVariety';SUFFIX='_field'" "CLASS='ChowGroup|KlyachkoBundle';SUFFIX='_class'" ; do eval "$a"; git --no-pager grep -l -E 'is_('$CLASS')' | xargs sed -E -i.bak 's/import is_('$CLASS')$/import \1'$SUFFIX'/;/^ +/s/is_('$CLASS')[(]([^()]*([(][^()]*[)])?[^()]*)[)]/isinstance(\2, \1'$SUFFIX')/g'; done
@kwankyu
Copy link
Collaborator

kwankyu commented May 22, 2024

Otherwise lgtm.

…i.bak '/ is deprecated; use /s/the function /The function /;/ is deprecated; use /s/ instead/ instead./'
Copy link
Collaborator

@kwankyu kwankyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented May 23, 2024

Thanks!

@vbraun vbraun merged commit ccc8895 into sagemath:develop May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants